新增配置文件处理

This commit is contained in:
2023-07-14 14:52:50 +08:00
parent f1dcd147fc
commit 593ea49554
12 changed files with 321 additions and 48 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ type GetUserDoctorPage struct {
// PutUserDoctor 修改医生
type PutUserDoctor struct {
IsRecommend int `json:"is_recommend" form:"is_recommend" label:"是否首页推荐"` // 0:否 1:是)
IsRecommend int `json:"is_recommend" form:"is_recommend"` // 0:否 1:是)
Avatar string `json:"avatar" form:"avatar" validate:"required" label:"头像"`
DoctorTitle int `json:"doctor_title" form:"doctor_title" validate:"required,oneof=1 2 3 4 5 6" label:"医生职称"` // (1:主任医师 2:主任中医师 3:副主任医师 4:副主任中医师 5:主治医师 6:住院医师)
DepartmentCustomId string `json:"department_custom_id" form:"department_custom_id" validate:"required" label:"科室"`