Browse Source

关注者

shish 4 years ago
parent
commit
edbde1be5c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app-pt/controllers/WxController.php

+ 3 - 0
app-pt/controllers/WxController.php

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