package request import "yintai-api/app/common/request" type UserCreate struct { Username string `json:"username"` Account string `json:"account"` Password string `json:"password"` Role string `json:"role"` } type UserUpdate struct { UserId string `json:"id"` Username string `json:"username"` Password string `json:"password"` Role string `json:"role"` Status string `json:"status"` } type UserDelete struct { ID string `form:"id"` } type UserList struct { request.Paginate Username string `form:"username"` Account string `form:"account"` Role string `from:"role"` } type UserLogin struct { Account string `json:"account"` Password string `json:"password"` } type UserLogout struct { Token string `header:"token"` }