|
|
@@ -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':
|