修正获取患者问诊病例\修正发送消息回调缓存
This commit is contained in:
@@ -343,6 +343,7 @@ class CallBackController extends AbstractController
|
||||
if (!empty($order_inquiry) && !empty($request_params['CloudCustomData'])){
|
||||
if (!empty($order_inquiry['doctor_id'])){
|
||||
$data['order_inquiry_id'] = $order_inquiry['order_inquiry_id'];
|
||||
$data['to_user_id'] = $request_params['To_Account'];
|
||||
$data['patient_name'] = $order_inquiry['patient_name'];
|
||||
$data['patient_sex'] = $order_inquiry['patient_sex'];
|
||||
$data['patient_age'] = $order_inquiry['patient_age'];
|
||||
|
||||
@@ -44,9 +44,14 @@ class InquiryController extends AbstractController
|
||||
/**
|
||||
* 获取患者问诊病例
|
||||
* @return ResponseInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function getPatientInquiryCase(): ResponseInterface
|
||||
{
|
||||
$request = $this->container->get(InquiryRequest::class);
|
||||
$request->scene('getPatientInquiryCase')->validateResolved();
|
||||
|
||||
$InquiryService = new InquiryService();
|
||||
$data = $InquiryService->getPatientInquiryCase();
|
||||
return $this->response->json($data);
|
||||
|
||||
Reference in New Issue
Block a user