新增患者个人中心-详情接口

This commit is contained in:
2023-03-03 21:03:17 +08:00
parent 7740dad0e5
commit 76cbcff76a
11 changed files with 246 additions and 4 deletions
+10
View File
@@ -174,6 +174,16 @@ Router::addGroup('/patient', function () {
// 首页
Router::get('/index', [IndexController::class, 'patientIndex']);
// 个人中心
Router::addGroup('/center', function () {
// 获取患者个人中心数据
Router::get('', [UserPatientController::class, 'getPatientCenter']);
// 获取患者信息
Router::get('/info', [UserPatientController::class, 'getPatientCenterInfo']);
});
// 个人中心-我的医生
Router::addGroup('/my_doctor', function () {
// 删除我的医生