request->input('employees_id', -1); $page = $this->request->input('page',0); $pagesize = $this->request->input('pagesize',0); $orderMainList = $this->horsemanService->getOrderList($employeesId,$page, $pagesize); return $this->success($orderMainList); } public function getOrderInfo() { $globalOrderId = $this->request->input('global_order_id', -1); $orderMain = $this->orderOnlineService->getOrderInfo($globalOrderId); return $this->success(['order' => $orderMain]); } public function setHorsemanCoordinate() { $employeesId = $this->request->input('employees_id', -1); $coordinate = $this->request->input('coordinate', -1); return $this->success($this->horsemanService->setHorsemanCoordinate($employeesId,$coordinate)); } public function getHorsemanCoordinate() { $employeesId = $this->request->input('employees_id', -1); $coordinate = $this->horsemanService->getHorsemanCoordinate($employeesId); return $this->success(['coordinate' => $coordinate]); } public function getOrderCoordinate() { $globalOrderId = $this->request->input('global_order_id', -1); return $this->success($this->horsemanService->getOrderCoordinate($globalOrderId)); } }