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