|
|
@@ -388,15 +388,7 @@ class WxController extends PublicController
|
|
|
}
|
|
|
util::end();
|
|
|
}
|
|
|
- //刮刮卡
|
|
|
- if ($Content == '我要花') {
|
|
|
- $id = GuaGuaService::getNewestId();//取最新的活动id
|
|
|
- $text = $this->replyTextContent("会员日抽奖链接:" . Yii::$app->params['mobileUrl'] . "/gua/index?account={$merchantId}&id=" . $id);//没有管理员返回的信息
|
|
|
- } else {
|
|
|
- $text = $this->replyTextContent("^_^");//没有管理员返回的信息
|
|
|
- $text = $this->replyTextContent('<a data-miniprogram-appid="wxe4675bab299a52f7" data-miniprogram-path="pages/case/get-list" href="">小程序</a>');
|
|
|
- }
|
|
|
-
|
|
|
+ $text = $this->replyTextContent("^_^");//没有管理员返回的信息
|
|
|
$pc = new \WXBizMsgCrypt($openToken, $encodingAesKey, $openAppId);
|
|
|
$encryptMsg = '';
|
|
|
$pc->encryptMsg($text, $timestamp, $nonce, $encryptMsg);//加密
|