新增创建时间搜索条件
This commit is contained in:
+30
-1
@@ -374,7 +374,7 @@ func privateRouter(r *gin.Engine, api controller.Api) {
|
||||
inquiryGroup.PUT("/cancel/:order_inquiry_id", api.OrderInquiry.CancelOrderInquiry)
|
||||
}
|
||||
|
||||
// 问诊订单
|
||||
// 药品订单
|
||||
productGroup := orderGroup.Group("/product")
|
||||
{
|
||||
// 获取药品订单列表-分页
|
||||
@@ -396,4 +396,33 @@ func privateRouter(r *gin.Engine, api controller.Api) {
|
||||
// 上报监管平台
|
||||
}
|
||||
}
|
||||
|
||||
// 患者管理
|
||||
patientGroup := adminGroup.Group("/patient")
|
||||
{
|
||||
// 获取患者列表-分页
|
||||
patientGroup.GET("", api.UserDoctor.GetUserDoctorPage)
|
||||
|
||||
// 患者详情
|
||||
patientGroup.GET("/:patient_id", api.UserDoctor.GetUserDoctor)
|
||||
|
||||
// 修改患者状态
|
||||
patientGroup.PUT("/status/:patient_id", api.UserDoctor.GetUserDoctor)
|
||||
|
||||
// 就诊人管理
|
||||
patientFamilyGroup := doctorGroup.Group("/family")
|
||||
{
|
||||
// 获取就诊人列表-分页
|
||||
patientFamilyGroup.GET("", api.UserDoctor.GetUserDoctorPendingPage)
|
||||
|
||||
// 就诊人详情
|
||||
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