Răsfoiți Sursa

关闭全网发布

shish 5 ani în urmă
părinte
comite
b95d6d4d1e
1 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 4 4
      app-pt/controllers/WxController.php

+ 4 - 4
app-pt/controllers/WxController.php

@@ -202,7 +202,7 @@ class WxController extends PublicController
 			
 			
 			
 			
 			if ($this->msgType == 'event') {
 			if ($this->msgType == 'event') {
-				
+				/*
 							//全网发布,1 事件消息响应
 							//全网发布,1 事件消息响应
 							$content = $postObj->Event."from_callback";
 							$content = $postObj->Event."from_callback";
 							$createTime = time (); // 响应当前时间
 							$createTime = time (); // 响应当前时间
@@ -219,7 +219,7 @@ class WxController extends PublicController
 							$pc->encryptMsg($text, $timestamp, $nonce, $encryptMsg);//加密
 							$pc->encryptMsg($text, $timestamp, $nonce, $encryptMsg);//加密
 							echo $encryptMsg;
 							echo $encryptMsg;
 							Yii::$app->end();
 							Yii::$app->end();
-
+				*/
 				switch ($Event) {
 				switch ($Event) {
 					//关注
 					//关注
 					case 'subscribe':
 					case 'subscribe':
@@ -305,7 +305,7 @@ class WxController extends PublicController
 				}
 				}
 				
 				
 			} elseif ($this->msgType == 'text') {
 			} elseif ($this->msgType == 'text') {
-
+				/*
 							//全网发布,3 api客服接口回应
 							//全网发布,3 api客服接口回应
 							if(strpos($Content,'QUERY_AUTH_CODE:') !== false){
 							if(strpos($Content,'QUERY_AUTH_CODE:') !== false){
 								//返回空字符,表示暂不回复
 								//返回空字符,表示暂不回复
@@ -364,7 +364,7 @@ class WxController extends PublicController
 								break;
 								break;
 
 
 						}
 						}
-
+				*/
 				$adminSendMsg = false;
 				$adminSendMsg = false;
 				$openMerchant = xhWxOpenService::getMerchant();
 				$openMerchant = xhWxOpenService::getMerchant();
 				$openMerchantId = $openMerchant['id'];
 				$openMerchantId = $openMerchant['id'];