...
|
...
|
@@ -346,7 +346,7 @@ class Api |
|
|
if (empty($token['token'])) {
|
|
|
$this->error('请登录后在操作', '', 401);
|
|
|
}
|
|
|
$is_token = Db::name('seller')->where(['token' => $token['token']])->find();
|
|
|
$is_token = Db::name('seller')->where(['token' => $token['authorization']])->find();
|
|
|
if (!$is_token) {
|
|
|
$this->error('登陆已过期,请重新登陆', '', 90001);
|
|
|
}
|
...
|
...
|
|