娄梦宁 пре 3 година
родитељ
комит
68f5db41fb
1 измењених фајлова са 2 додато и 3 уклоњено
  1. +2
    -3
      application/admin/controller/OrderMain.php

+ 2
- 3
application/admin/controller/OrderMain.php Прегледај датотеку

@@ -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…
Откажи
Сачувај