Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsertUserReq ¶
type InsertUserReq struct { Username string `json:"username" comment:"用户名" vd:"len($)>0"` Password string `json:"password" comment:"密码"` NickName string `json:"nickName" comment:"昵称" vd:"len($)>0"` Phone string `json:"phone" comment:"手机号" vd:"len($)>0"` RoleIds []int64 `json:"roleIds" comment:"角色ID"` Avatar string `json:"avatar" comment:"头像"` Sex string `json:"sex" comment:"性别"` Email string `json:"email" comment:"邮箱" vd:"len($)>0,email"` Remark string `json:"remark" comment:"备注"` Status string `json:"status" comment:"状态" default:"1"` }
type SysUserGetPageReq ¶
type SysUserGetPageReq struct { dto.Pagination `search:"-"` UserId int `form:"userId" search:"type:exact;column:user_id;table:sys_user" comment:"用户ID"` Username string `form:"username" search:"type:contains;column:username;table:sys_user" comment:"用户名"` NickName string `form:"nickName" search:"type:contains;column:nick_name;table:sys_user" comment:"昵称"` Phone string `form:"phone" search:"type:contains;column:phone;table:sys_user" comment:"手机号"` RoleId string `form:"roleId" search:"type:exact;column:role_id;table:sys_user" comment:"角色ID"` Sex string `form:"sex" search:"type:exact;column:sex;table:sys_user" comment:"性别"` Email string `form:"email" search:"type:contains;column:email;table:sys_user" comment:"邮箱"` Status string `form:"status" search:"type:exact;column:status;table:sys_user" comment:"状态"` }
type UserByIdReq ¶
type UserByIdReq struct {
dto.ObjectById
}
Click to show internal directories.
Click to hide internal directories.