...
|
...
|
@@ -193,7 +193,7 @@ class PublicController extends RestBaseController |
|
|
}
|
|
|
$data = Db::name('user_token')->where(array('user_id'=>$third_party_user['user_id']))->find();
|
|
|
if($data['expire_time']<time()){
|
|
|
$this->success('token过期了',['code'=>50001,'msg'=>'token过期了']);
|
|
|
$this->success('token过期了',['code'=>20000,'msg'=>'token过期了']);
|
|
|
}else{
|
|
|
$this->success('ok',['code'=>20000,'msg'=>'ok','data'=>$data['token']]);
|
|
|
}
|
...
|
...
|
|