|
|
@@ -124,7 +124,7 @@ class WxController extends PublicController
|
|
|
$encryptMsg = '';
|
|
|
$pc->encryptMsg($text, $timestamp, $nonce, $encryptMsg);//加密
|
|
|
//echo $encryptMsg;
|
|
|
- $r = wxUtil::sendMsg('111111', $merchant, $this->fromUsername, 1);
|
|
|
+ $r = wxUtil::sendMsg('111111', $merchant, (string)$this->fromUsername, 1);
|
|
|
Yii::info('657'.' '.$this->fromUsername.' '.json_encode($r));
|
|
|
Yii::info(json_encode($merchant));
|
|
|
Yii::info(json_encode($getUserInfo));
|