正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -314,6 +314,7 @@ class Car extends Base | @@ -314,6 +314,7 @@ class Car extends Base | ||
314 | public function switching_driver() | 314 | public function switching_driver() |
315 | { | 315 | { |
316 | $res = Db::name("driver")->where("user_id", $this->auth->id)->find(); | 316 | $res = Db::name("driver")->where("user_id", $this->auth->id)->find(); |
317 | + print_r($res); | ||
317 | $car = Db::name("car")->where("driver_id", $res['id'])->find(); | 318 | $car = Db::name("car")->where("driver_id", $res['id'])->find(); |
318 | if ($car) { | 319 | if ($car) { |
319 | //本月收入 | 320 | //本月收入 |
-
请 注册 或 登录 后发表评论