From 51d313d57cd99d93bd6859629e3bd56ee18ae7ac Mon Sep 17 00:00:00 2001 From: Anyon Date: Wed, 10 May 2017 13:38:17 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E7=B2=89=E4=B8=9D=E5=8F=96=E6=B6=88=E5=85=B3=E6=B3=A8?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/controller/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/wechat/controller/Api.php b/application/wechat/controller/Api.php index d34bf8ce5..726151c2d 100644 --- a/application/wechat/controller/Api.php +++ b/application/wechat/controller/Api.php @@ -228,7 +228,7 @@ class Api extends Controller { WechatService::setFansInfo($userInfo, $wechat->appid); } } else { - $data = ['subscribe' => '0', 'appid' => $this->appid, 'openid' => $this->openid]; + $data = ['subscribe' => '0', 'appid' => $this->wechat->appid, 'openid' => $this->openid]; DataService::save('wechat_fans', $data, ['appid', 'openid']); } }