新增获取就诊人列表-分页
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user