diff --git a/api/requests/userDoctor.go b/api/requests/userDoctor.go index eefa83e..2aae679 100644 --- a/api/requests/userDoctor.go +++ b/api/requests/userDoctor.go @@ -36,7 +36,7 @@ type PutUserDoctor struct { 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:"科室"` DepartmentCustomName string `json:"department_custom_name" form:"department_custom_name" validate:"required" label:"科室名称"` // (如未自己输入,填入标准科室名称) - DepartmentCustomMobile string `json:"department_custom_mobile" form:"department_custom_mobile" label:"科室电话"` + DepartmentCustomMobile string `json:"department_custom_mobile" form:"department_custom_mobile" validate:"required" label:"科室电话"` HospitalId string `json:"hospital_id" form:"hospital_id" validate:"required" label:"所属医院id"` IsPlatformDeepCooperation int `json:"is_platform_deep_cooperation" form:"is_platform_deep_cooperation" label:"平台深度合作医生"` // 是否平台深度合作医生(0:否 1:是) IsSysDiagnoCooperation int `json:"is_sys_diagno_cooperation" form:"is_sys_diagno_cooperation" label:"是否先思达合作医生)"` // 是否先思达合作医生(0:否 1:是) @@ -65,7 +65,7 @@ type AddUserDoctor struct { 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" validate:"required" label:"科室"` DepartmentCustomName string `json:"department_custom_name" form:"department_custom_name" validate:"required" label:"科室名称"` // (如未自己输入,填入标准科室名称) - DepartmentCustomMobile string `json:"department_custom_mobile" form:"department_custom_mobile" label:"科室电话"` + DepartmentCustomMobile string `json:"department_custom_mobile" form:"department_custom_mobile" validate:"required" label:"科室电话"` HospitalId string `json:"hospital_id" form:"hospital_id" validate:"required" label:"所属医院id"` IsPlatformDeepCooperation int `json:"is_platform_deep_cooperation" form:"is_platform_deep_cooperation" label:"平台深度合作医生"` // 是否平台深度合作医生(0:否 1:是) IsSysDiagnoCooperation int `json:"is_sys_diagno_cooperation" form:"is_sys_diagno_cooperation" label:"是否先思达合作医生)"` // 是否先思达合作医生(0:否 1:是)