新增药师端首页、修正问诊列表医生数据

This commit is contained in:
2023-03-17 15:09:22 +08:00
parent a1101d4d12
commit f64c46b30c
12 changed files with 146 additions and 48 deletions
-5
View File
@@ -346,14 +346,9 @@ class UserDoctorController extends AbstractController
/**
* 新增医生接诊
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function addDoctorInquiry(): ResponseInterface
{
$request = $this->container->get(UserDoctorRequest::class);
$request->scene('addDoctorInquiry')->validateResolved();
$UserDoctorService = new UserDoctorService();
$data = $UserDoctorService->addDoctorInquiry();
return $this->response->json($data);