Browse Source

init

undefined
娄梦宁 3 years ago
parent
commit
eb1c080c5e
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      application/admin/controller/OrderMain.php

+ 3
- 2
application/admin/controller/OrderMain.php View File

@@ -272,9 +272,10 @@ class OrderMain extends Backend
* 获取订单详情
* @return \think\response\Json
*/
public function getShowInfo($id){
public function getShowInfo(){
$params=$this->request->post();
$orderMainService = new OrderMainService();
$result = $orderMainService->getOrderInfo($id);
$result = $orderMainService->getOrderInfo($params['id']);
return json($result);
}



Loading…
Cancel
Save