作者 郭文星

1231

@@ -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 /**