[更新]修改微信支持模块

This commit is contained in:
邹景立 2017-04-14 16:14:26 +08:00
parent 32fb62a1f5
commit 4b19fff821

View File

@ -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();
}