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