...
|
...
|
@@ -1541,7 +1541,15 @@ class Car extends Base |
|
|
public function orderinfo(){
|
|
|
$order_id = $this->request->param("order_id");
|
|
|
$res=Db::name("order")->where('id',$order_id)->find();
|
|
|
$this->success("请求成功",$res);
|
|
|
$specificaddress=Db::name("specificaddress")->where('id',$res['specificaddress_id'])->find();
|
|
|
$data=[
|
|
|
"position"=>$res['position'],
|
|
|
"price"=>$res['price'],
|
|
|
"order_status"=>$res['order_status'],
|
|
|
"number"=>$res['number'],
|
|
|
"specificaddress"=>$specificaddress['specific_address'],
|
|
|
];
|
|
|
$this->success("请求成功",$data);
|
|
|
}
|
|
|
public function test(){
|
|
|
$res=SendMessage(117);
|
...
|
...
|
|