新增医生账户模型,修改省市区接口返回结构

This commit is contained in:
2023-02-22 15:14:05 +08:00
parent 5fe99b1c24
commit 5132a57752
7 changed files with 161 additions and 4 deletions
+11
View File
@@ -142,4 +142,15 @@ class UserDoctorController extends AbstractController
$data = $UserDoctorService->getPrescriptionList();
return $this->response->json($data);
}
/**
* 获取医生个人中心数据
* @return ResponseInterface
*/
public function getDoctorCenter(): ResponseInterface
{
$UserDoctorService = new UserDoctorService();
$data = $UserDoctorService->getDoctorCenter();
return $this->response->json($data);
}
}