作者 郭文星

1231

@@ -22,8 +22,7 @@ class Car extends Base @@ -22,8 +22,7 @@ class Car extends Base
22 22
23 public function _initialize() 23 public function _initialize()
24 { 24 {
25 - $this->user_id = $this->auth->id;  
26 - if(!$this->user_id){ 25 + if(!$this->auth->id){
27 $this->error("tokrn失效,请重新登录。","","403"); 26 $this->error("tokrn失效,请重新登录。","","403");
28 } 27 }
29 parent::_initialize(); 28 parent::_initialize();