修改家庭成员-问诊病例入参、返回值数据

This commit is contained in:
2023-05-09 11:03:08 +08:00
parent ef5a8f9691
commit 5eb743a052
6 changed files with 128 additions and 34 deletions
+4 -1
View File
@@ -287,6 +287,9 @@ Router::addGroup('/patient', function () {
// 家庭成员
Router::addGroup('/family', function () {
// 获取家庭成员病例数据
Router::get('/case/{family_id:\d+}', [PatientFamilyController::class, 'getFamilyCase']);
// 获取家庭成员列表
Router::get('', [PatientFamilyController::class, 'getFamilyList']);
@@ -335,7 +338,7 @@ Router::addGroup('/patient', function () {
// 病例
Router::addGroup('/case', function () {
// 获取患者最后一份问诊病例
// 获取患者最后一份问诊病例-废弃
Router::get('/last/{family_id:\d+}', [PatientCaseController::class, 'getLastCase']);
});