作者 郭文星

123123

@@ -214,7 +214,7 @@ class Car extends Base @@ -214,7 +214,7 @@ class Car extends Base
214 public function passengerlist() 214 public function passengerlist()
215 { 215 {
216 $res = Db::name("passenger")->where("user_id", $this->auth->id)->select(); 216 $res = Db::name("passenger")->where("user_id", $this->auth->id)->select();
217 - return $this->success("请求成功", $this->auth->getUser()); 217 + return $this->success("请求成功", $res);
218 } 218 }
219 219
220 /** 220 /**