正在显示
1 个修改的文件
包含
0 行增加
和
8 行删除
@@ -22,14 +22,6 @@ class Car extends Base | @@ -22,14 +22,6 @@ class Car extends Base | ||
22 | 22 | ||
23 | public function _initialize() | 23 | public function _initialize() |
24 | { | 24 | { |
25 | - print_r($this->auth);die; | ||
26 | - $where["id"] = ["=", $this->auth->id]; | ||
27 | - | ||
28 | - $user = Db::name("user")->where($where)->order("id desc")->find(); | ||
29 | - if (empty($user)) { | ||
30 | - $this->error("tokrn失效,请重新登录。","","403"); | ||
31 | - } | ||
32 | - | ||
33 | parent::_initialize(); | 25 | parent::_initialize(); |
34 | } | 26 | } |
35 | /** | 27 | /** |
-
请 注册 或 登录 后发表评论