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