mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-26 19:36:36 +08:00
[更新]修改微信支持模块
This commit is contained in:
parent
32fb62a1f5
commit
4b19fff821
@ -144,7 +144,7 @@ class WechatService {
|
|||||||
*/
|
*/
|
||||||
public static function getFansInfo($openid, $appid = null) {
|
public static function getFansInfo($openid, $appid = null) {
|
||||||
$map = ['openid' => $openid];
|
$map = ['openid' => $openid];
|
||||||
is_string($map['appid']) && $map['appid'] = $appid;
|
is_string($appid) && $map['appid'] = $appid;
|
||||||
return Db::name('WechatFans')->where($map)->find();
|
return Db::name('WechatFans')->where($map)->find();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user