新增获取用户列表-分页

This commit is contained in:
2023-06-28 08:37:59 +08:00
parent c8fd746540
commit e33721fcd8
9 changed files with 167 additions and 30 deletions
+18
View File
@@ -0,0 +1,18 @@
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:"每页个数"`
}