作者 郭文星

1231

@@ -22,6 +22,9 @@ class Car extends Base @@ -22,6 +22,9 @@ class Car extends Base
22 22
23 public function _initialize() 23 public function _initialize()
24 { 24 {
  25 + if(empty($this->auth->id)){
  26 + $this->error("失败");
  27 + }
25 parent::_initialize(); 28 parent::_initialize();
26 } 29 }
27 /** 30 /**