From 069f8c13d579c5e2d0ee2f1c234e0ef07dc171d4 Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 4 Jan 2018 14:40:07 +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=E4=BF=A1=E6=81=AF=E4=BF=AE=E6=94=B9?= 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 6eb423372..e0d495289 100644 --- a/application/wechat/controller/Api.php +++ b/application/wechat/controller/Api.php @@ -256,7 +256,7 @@ class Api extends Controller } } else { $data = ['subscribe' => '0', 'appid' => $this->wechat->appid, 'openid' => $this->openid]; - DataService::save('wechat_fans', $data, ['appid', 'openid']); + DataService::save('wechat_fans', $data, 'openid'); } }