[更新]修改微信网页授权

This commit is contained in:
邹景立 2017-04-17 16:03:49 +08:00
parent c7d61964d9
commit ed1a3f0e39

View File

@ -73,6 +73,7 @@ class BasicWechat extends Controller {
return $this->openid;
}
$this->fansinfo = WechatService::getFansInfo($this->openid);
dump($this->fansinfo);
if (!empty($this->fansinfo) && $this->fansinfo['expires_in'] < time()) {
return $this->openid;
}