新增获取问诊消息列表接口、修正im回调

This commit is contained in:
2023-03-10 15:34:39 +08:00
parent de0ea9bd02
commit 3b99071387
6 changed files with 54 additions and 7 deletions
+13 -2
View File
@@ -301,8 +301,19 @@ class UserDoctorController extends AbstractController
return $this->response->json($data);
}
// 获取医生问诊消息列表
public function getDoctorMessageList(){
/**
* 获取医生问诊消息列表
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function getDoctorMessageList(): ResponseInterface
{
$request = $this->container->get(UserDoctorRequest::class);
$request->scene('getDoctorMessageList')->validateResolved();
$UserDoctorService = new UserDoctorService();
$data = $UserDoctorService->getDoctorMessageList();
return $this->response->json($data);
}
}