From 4b19fff82121429235d2f3f880b9737876381605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Fri, 14 Apr 2017 16:14:26 +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=E6=94=AF=E6=8C=81=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/service/WechatService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extend/service/WechatService.php b/extend/service/WechatService.php index aba065934..facf2563e 100644 --- a/extend/service/WechatService.php +++ b/extend/service/WechatService.php @@ -144,7 +144,7 @@ class WechatService { */ public static function getFansInfo($openid, $appid = null) { $map = ['openid' => $openid]; - is_string($map['appid']) && $map['appid'] = $appid; + is_string($appid) && $map['appid'] = $appid; return Db::name('WechatFans')->where($map)->find(); }