新增空白页面返回数据结构

This commit is contained in:
2023-03-17 13:50:40 +08:00
parent c3d68e6aca
commit 4c5491d806
4 changed files with 21 additions and 5 deletions
+16
View File
@@ -342,4 +342,20 @@ class UserDoctorController extends AbstractController
$data = $UserDoctorService->getDoctorMessageAttrList();
return $this->response->json($data);
}
/**
* 新增医生接诊
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function addDoctorInquiry(): ResponseInterface
{
$request = $this->container->get(UserDoctorRequest::class);
$request->scene('addPrescription')->validateResolved();
$UserDoctorService = new UserDoctorService();
$data = $UserDoctorService->addPrescription();
return $this->response->json($data);
}
}