修改病情记录路由,用户id判断规则
This commit is contained in:
@@ -797,3 +797,21 @@ Router::addGroup('/inquiry', function () {
|
||||
|
||||
// 获取弹窗数据
|
||||
Router::get('/popup', [UserController::class, 'getUserPopup']);
|
||||
|
||||
// 病情记录
|
||||
Router::addGroup('/pathography', function () {
|
||||
// 检测家庭成员是否存在病情记录
|
||||
Router::get('/exist', [PatientPathographyController::class, 'existFamilyPathography']);
|
||||
|
||||
// 获取家庭成员病情记录列表-分页
|
||||
Router::get('', [PatientPathographyController::class, 'getFamilyPathographyPage']);
|
||||
|
||||
// 获取家庭成员病情记录详情
|
||||
Router::get('/{pathography_id:\d+}', [PatientPathographyController::class, 'getFamilyPathographyInfo']);
|
||||
|
||||
// 获取家庭成员病情记录分组
|
||||
Router::get('/group', [PatientPathographyController::class, 'getFamilyPathographyGroup']);
|
||||
|
||||
// 删除家庭成员病情记录
|
||||
Router::delete('/{pathography_id:\d+}', [PatientPathographyController::class, 'deleteFamilyPathography']);
|
||||
});
|
||||
Reference in New Issue
Block a user