package requests type DoctorAccountRequest struct { GetDoctorAccountPage // 获取医生账户列表-分页 DoctorAccountExportList // 医生账户 } // GetDoctorAccountPage 获取医生账户列表-分页 type GetDoctorAccountPage struct { Page int `json:"page" form:"page" label:"页码"` PageSize int `json:"page_size" form:"page_size" label:"每页个数"` Mobile string `json:"mobile" form:"mobile" label:"手机号"` UserName string `json:"user_name" form:"user_name" label:"用户名"` } // DoctorAccountExportList 医生账户 type DoctorAccountExportList struct { Type int `json:"type" form:"type" label:"类型" validate:"required,oneof=1 2 3"` // 1:当前搜索数据 2:当前选择数据 3:全部数据 Id string `json:"id" form:"id" label:"id"` // 选择数据的id,逗号分隔,当type为2时必填 Mobile string `json:"mobile" form:"mobile" label:"手机号"` UserName string `json:"user_name" form:"user_name" label:"用户名"` }