...
|
...
|
@@ -214,7 +214,7 @@ class Car extends Base |
|
|
public function passengerlist()
|
|
|
{
|
|
|
$res = Db::name("passenger")->where("user_id", $this->auth->id)->select();
|
|
|
return $this->success("请求成功", $res);
|
|
|
return $this->success("请求成功", $this->auth->getUser());
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -1399,7 +1399,7 @@ class Car extends Base |
|
|
];
|
|
|
}
|
|
|
if(!$this->auth->id){
|
|
|
$this->error("111订单异常");
|
|
|
$this->error("订单异常");
|
|
|
}
|
|
|
$res = Db::name("order")->insertGetId($data);
|
|
|
//OrderSendMessage($res);
|
...
|
...
|
|