mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修复微信粉丝保存失败
This commit is contained in:
parent
ed88dc5f24
commit
506c399663
@ -226,7 +226,7 @@ class Api extends Controller {
|
||||
$wechat = &load_wechat('User');
|
||||
$userInfo = $wechat->getUserInfo($this->openid);
|
||||
$userInfo['subscribe'] = intval($subscribe);
|
||||
WechatService::setFansInfo($userInfo, $this->appid);
|
||||
WechatService::setFansInfo($userInfo, $wechat->appid);
|
||||
}
|
||||
} else {
|
||||
$data = ['subscribe' => '0', 'appid' => $this->appid, 'openid' => $this->openid];
|
||||
|
Loading…
x
Reference in New Issue
Block a user