mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改微信网页授权
This commit is contained in:
parent
c7d61964d9
commit
ed1a3f0e39
@ -73,6 +73,7 @@ class BasicWechat extends Controller {
|
|||||||
return $this->openid;
|
return $this->openid;
|
||||||
}
|
}
|
||||||
$this->fansinfo = WechatService::getFansInfo($this->openid);
|
$this->fansinfo = WechatService::getFansInfo($this->openid);
|
||||||
|
dump($this->fansinfo);
|
||||||
if (!empty($this->fansinfo) && $this->fansinfo['expires_in'] < time()) {
|
if (!empty($this->fansinfo) && $this->fansinfo['expires_in'] < time()) {
|
||||||
return $this->openid;
|
return $this->openid;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user