正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -213,7 +213,7 @@ class Car extends Base | @@ -213,7 +213,7 @@ class Car extends Base | ||
213 | */ | 213 | */ |
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", ">",0)->where("user_id", $this->auth->id)->select(); |
217 | return $this->success("请求成功", $res); | 217 | return $this->success("请求成功", $res); |
218 | } | 218 | } |
219 | 219 |
-
请 注册 或 登录 后发表评论