|
@@ -112,6 +112,7 @@ class Api
|
|
$this->error('请先登录', '', 0);
|
|
$this->error('请先登录', '', 0);
|
|
}
|
|
}
|
|
$userinfo = User::where('id', $user->id)->find();
|
|
$userinfo = User::where('id', $user->id)->find();
|
|
|
|
+ print_r($userinfo);die;
|
|
if (1 != $userinfo['status']) {
|
|
if (1 != $userinfo['status']) {
|
|
$this->error('账号被禁用', '', 0);
|
|
$this->error('账号被禁用', '', 0);
|
|
}
|
|
}
|