正在显示
1 个修改的文件
包含
9 行增加
和
1 行删除
@@ -1541,7 +1541,15 @@ class Car extends Base | @@ -1541,7 +1541,15 @@ class Car extends Base | ||
1541 | public function orderinfo(){ | 1541 | public function orderinfo(){ |
1542 | $order_id = $this->request->param("order_id"); | 1542 | $order_id = $this->request->param("order_id"); |
1543 | $res=Db::name("order")->where('id',$order_id)->find(); | 1543 | $res=Db::name("order")->where('id',$order_id)->find(); |
1544 | - $this->success("请求成功",$res); | 1544 | + $specificaddress=Db::name("specificaddress")->where('id',$res['specificaddress_id'])->find(); |
1545 | + $data=[ | ||
1546 | + "position"=>$res['position'], | ||
1547 | + "price"=>$res['price'], | ||
1548 | + "order_status"=>$res['order_status'], | ||
1549 | + "number"=>$res['number'], | ||
1550 | + "specificaddress"=>$specificaddress['specific_address'], | ||
1551 | + ]; | ||
1552 | + $this->success("请求成功",$data); | ||
1545 | } | 1553 | } |
1546 | public function test(){ | 1554 | public function test(){ |
1547 | $res=SendMessage(117); | 1555 | $res=SendMessage(117); |
-
请 注册 或 登录 后发表评论