@@ -39,7 +39,7 @@ type UserSearchReq struct {
DeptIds []int64 //所属部门id数据
Mobile string `p:"mobile"`
Status string `p:"status"`
- KeyWords string `p:"userName"`
+ KeyWords string `p:"keyWords"`
commonApi.PageReq
}
@@ -115,6 +115,7 @@ func (c *userController) List(ctx context.Context, req *system.UserSearchReq) (r
return
res = new(system.UserSearchRes)
+ res.Total = total
res.UserList, err = service.User().GetUsersRoleDept(ctx, userList)