20 lines
369 B
Go
20 lines
369 B
Go
package appuser
|
|
|
|
type listQuery struct {
|
|
Page int
|
|
PageSize int
|
|
Keyword string
|
|
Status string
|
|
}
|
|
|
|
type updateUserRequest struct {
|
|
Avatar *string `json:"avatar"`
|
|
Country *string `json:"country"`
|
|
Gender *string `json:"gender"`
|
|
Username *string `json:"username"`
|
|
}
|
|
|
|
type setPasswordRequest struct {
|
|
Password string `json:"password" binding:"required"`
|
|
}
|