新增获取就诊人列表-分页

This commit is contained in:
2023-09-18 16:48:22 +08:00
parent 913e1647fb
commit 9d21730305
12 changed files with 389 additions and 54 deletions
+3 -8
View File
@@ -422,22 +422,17 @@ func privateRouter(r *gin.Engine, api controller.Api) {
patientGroup.GET("/:patient_id", api.UserPatient.GetUserPatient)
// 修改患者状态
patientGroup.PUT("/status/:patient_id", api.UserDoctor.GetUserDoctor)
patientGroup.PUT("/status/:patient_id", api.UserPatient.PutUserDoctorStatus)
// 就诊人管理
patientFamilyGroup := doctorGroup.Group("/family")
patientFamilyGroup := patientGroup.Group("/family")
{
// 获取就诊人列表-分页
patientFamilyGroup.GET("", api.UserDoctor.GetUserDoctorPendingPage)
patientFamilyGroup.GET("", api.PatientFamily.GetPatientFamilyPage)
// 就诊人详情
patientFamilyGroup.GET("/:family_id", api.UserDoctor.GetUserDoctorPending)
// 删除就诊人
patientFamilyGroup.DELETE("/:family_id", api.UserDoctor.PutUserDoctorPending)
// 修改就诊人状态
patientFamilyGroup.DELETE("/status/:family_id", api.UserDoctor.PutUserDoctorPending)
}
}
}