医生账户-导出

This commit is contained in:
2023-11-14 14:43:39 +08:00
parent 1237e02514
commit f7f1182d14
10 changed files with 285 additions and 81 deletions
+10 -1
View File
@@ -1,7 +1,8 @@
package requests
type DoctorAccountRequest struct {
GetDoctorAccountPage // 获取医生账户列表-分页
GetDoctorAccountPage // 获取医生账户列表-分页
DoctorAccountExportList // 医生账户
}
// GetDoctorAccountPage 获取医生账户列表-分页
@@ -11,3 +12,11 @@ type GetDoctorAccountPage struct {
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:"用户名"`
}