作者 郭文星

1231

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