作者 郭文星

1231

... ... @@ -20,6 +20,14 @@ class Car extends Base
protected $noNeedLogin = [];
protected $noNeedRight = ['*'];
public function _initialize()
{
parent::_initialize();
if(empty($this->auth->id)){
$this->error("失败","","403");
}
}
/**
* 查询常用路线
* @return void
... ...