Browse Source

发消息

shish 5 years ago
parent
commit
0b29c7fcc1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app-pt/controllers/WxController.php

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

@@ -124,8 +124,8 @@ class WxController extends PublicController
                         $encryptMsg = '';
                         $pc->encryptMsg($text, $timestamp, $nonce, $encryptMsg);//加密
                         //echo $encryptMsg;
-                        wxUtil::sendMsg('111111', $merchant, $this->fromUsername, 1);
-                        Yii::info(657);
+                        $r = wxUtil::sendMsg('111111', $merchant, $this->fromUsername, 1);
+                        Yii::info('657'.' '.$this->fromUsername.' '.json_encode($r));
                         break;
                     //取消关注
                     case 'unsubscribe':