新增获取问诊最低价格
This commit is contained in:
@@ -84,8 +84,16 @@ class InquiryController extends AbstractController
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 获取问诊最低价格
|
||||
* @return ResponseInterface
|
||||
*/
|
||||
public function getInquiryLowestPrice(): ResponseInterface
|
||||
{
|
||||
$InquiryService = new InquiryService();
|
||||
$data = $InquiryService->getInquiryLowestPrice();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -141,4 +141,20 @@ class PatientOrderController extends AbstractController
|
||||
$data = $PatientOrderService->getPatientOrderPayInfo();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建药品订单
|
||||
* @return ResponseInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function addPatientProductOrder(): ResponseInterface
|
||||
{
|
||||
$request = $this->container->get(PatientOrderRequest::class);
|
||||
$request->scene('addPatientProductOrder')->validateResolved();
|
||||
|
||||
$PatientOrderService = new PatientOrderService();
|
||||
$data = $PatientOrderService->addPatientProductOrder();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
@@ -20,13 +20,13 @@ class SystemController extends AbstractController
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function getSystemInquiryConfig(): ResponseInterface
|
||||
public function getSystemInquiryTime(): ResponseInterface
|
||||
{
|
||||
$request = $this->container->get(SystemRequest::class);
|
||||
$request->scene('getSystemInquiryConfig')->validateResolved();
|
||||
$request->scene('getSystemInquiryTime')->validateResolved();
|
||||
|
||||
$SystemService = new SystemService();
|
||||
$data = $SystemService->getSystemInquiryConfig();
|
||||
$data = $SystemService->getSystemInquiryTime();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user