shish hace 3 años
padre
commit
04febd9fdc
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  1. 2 4
      app-pt/controllers/WxController.php

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

@@ -127,8 +127,7 @@ class WxController extends PublicController
                         $pc = new \WXBizMsgCrypt($openToken, $encodingAesKey, $openAppId);
                         $encryptMsg = '';
 
-                        noticeUtil::push('关注者openId', '15280215347');
-                        noticeUtil::push($this->fromUsername, '15280215347');
+                        noticeUtil::push('关注者openId ' . $this->fromUsername, '15280215347');
 
                         $pc->encryptMsg($text, $timestamp, $nonce, $encryptMsg);//加密
                         echo $encryptMsg;
@@ -177,8 +176,7 @@ class WxController extends PublicController
                     //关注
                     case 'subscribe':
 
-                        noticeUtil::push('关注者openId'  , '15280215347');
-                        noticeUtil::push( $this->fromUsername, '15280215347');
+                        noticeUtil::push('关注者openId ' . $this->fromUsername, '15280215347');
 
                         $text = $this->replyTextContent("等您好久,终于等到您 /::)");
                         $pc = new \WXBizMsgCrypt($openToken, $encodingAesKey, $openAppId);