Pārlūkot izejas kodu

引导关注问题

shish 5 gadi atpakaļ
vecāks
revīzija
394b176929
1 mainītis faili ar 1 papildinājumiem un 4 dzēšanām
  1. 1 4
      app-pt/controllers/WxController.php

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

@@ -128,10 +128,7 @@ class WxController extends PublicController
                         $pc = new \WXBizMsgCrypt($openToken, $encodingAesKey, $openAppId);
                         $encryptMsg = '';
                         $pc->encryptMsg($text, $timestamp, $nonce, $encryptMsg);//加密
-                        //echo $encryptMsg;
-
-                        wxUtil::sendMiniMsg('123456789', $merchant, (string)$this->fromUsername, $isOpen);
-
+                        echo $encryptMsg;
                         break;
                     //取消关注
                     case 'unsubscribe':