|
|
@ -24,13 +24,15 @@ class HorsemanController extends BaseController |
|
|
|
|
|
|
|
|
public function getOrderList() |
|
|
public function getOrderList() |
|
|
{ |
|
|
{ |
|
|
return $this->success($this->horsemanService->getOrderList()); |
|
|
|
|
|
|
|
|
$orderMainList = $this->horsemanService->getOrderList(); |
|
|
|
|
|
return $this->success(['order_list' => $orderMainList]); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function getOrderInfo() |
|
|
public function getOrderInfo() |
|
|
{ |
|
|
{ |
|
|
$globalOrderId = $this->request->input('global_order_id', -1); |
|
|
$globalOrderId = $this->request->input('global_order_id', -1); |
|
|
return $this->success($this->orderOnlineService->getOrderInfo($globalOrderId)); |
|
|
|
|
|
|
|
|
$orderMain = $this->orderOnlineService->getOrderInfo($globalOrderId); |
|
|
|
|
|
return $this->success(['order' => $orderMain]); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function setHorsemanCoordinate() |
|
|
public function setHorsemanCoordinate() |
|
|
|