19 lines
823 B
Go
19 lines
823 B
Go
package requests
|
||
|
||
type UserRequest struct {
|
||
GetUserPage // 获取用户列表-分页
|
||
}
|
||
|
||
// GetUserPage 获取用户列表-分页
|
||
type GetUserPage struct {
|
||
PostName string `json:"post_name" form:"post_name" label:"岗位名称"`
|
||
DeptName string `json:"dept_name" form:"dept_name" label:"部门名称"`
|
||
NickName string `json:"nick_name" form:"nick_name" label:"用户昵称"`
|
||
Phone string `json:"phone" form:"phone" label:"手机号"`
|
||
Status int `json:"status" form:"status" label:"用户状态"` // (1:正常 2:审核中 3:审核失败)
|
||
DeptId int64 `json:"dept_id" form:"dept_id" label:"部门"`
|
||
PostId int64 `json:"post_id" form:"post_id" label:"岗位"`
|
||
Page int `json:"page" form:"page" label:"页码"`
|
||
PageSize int `json:"page_size" form:"page_size" label:"每页个数"`
|
||
}
|