正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -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 | /** |
-
请 注册 或 登录 后发表评论