作者 郭文星

123

@@ -315,8 +315,6 @@ class Car extends Base @@ -315,8 +315,6 @@ class Car extends Base
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 $car = Db::name("car")->where("driver_id", $res['id'])->find(); 317 $car = Db::name("car")->where("driver_id", $res['id'])->find();
318 - print_r($car);  
319 - return;  
320 if ($car) { 318 if ($car) {
321 //本月收入 319 //本月收入
322 $revenue_mon = sprintf('%.2f', Db::name("order") 320 $revenue_mon = sprintf('%.2f', Db::name("order")