소스 검색

修改错误判断条件

git 5 년 전
부모
커밋
6f03d7425c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Home/Lib/Action/NoticeAction.class.php

+ 1 - 1
Home/Lib/Action/NoticeAction.class.php

@@ -82,7 +82,7 @@ class NoticeAction extends Action {
 		           $msg_data = json_decode($message->payload,true);
 						if($msg_data){
 						   // 使用极光推送消息
-							if(C('JPUSH_APP_KEY') || C('JPUSH_MASTER_SECRET')){
+							if(!C('JPUSH_APP_KEY') || !C('JPUSH_MASTER_SECRET')){
 								echo 'jpush app key or secret not exists',PHP_EOL;
 								break;
 							}