Browse Source

init

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

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

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



Loading…
Cancel
Save