...
|
...
|
@@ -299,7 +299,7 @@ class Car extends Base |
|
|
*/
|
|
|
public function switching_driver()
|
|
|
{
|
|
|
$res = Db::name("driver")->where("user_id", $this->auth->id)->find();
|
|
|
$res = Db::name("driver")->where("user_id", 37)->find();
|
|
|
$car = Db::name("car")->where("driver_id", $res['id'])->find();
|
|
|
if ($car) {
|
|
|
//本月收入
|
...
|
...
|
|