54 lines
1.0 KiB
Go
54 lines
1.0 KiB
Go
package appuser
|
|
|
|
type listQuery struct {
|
|
Page int
|
|
PageSize int
|
|
Country string
|
|
Keyword string
|
|
RegionID int64
|
|
RegionIDSet bool
|
|
Status string
|
|
SortBy string
|
|
SortDirection string
|
|
StartMs int64
|
|
EndMs int64
|
|
}
|
|
|
|
type loginLogQuery struct {
|
|
Page int
|
|
PageSize int
|
|
Keyword string
|
|
UserID int64
|
|
DisplayUserID string
|
|
IP string
|
|
IPCountryCode string
|
|
Channel string
|
|
Platform string
|
|
Result string
|
|
Blocked string
|
|
RegionID int64
|
|
RegionIDSet bool
|
|
StartMs int64
|
|
EndMs int64
|
|
}
|
|
|
|
type banListQuery struct {
|
|
Page int
|
|
PageSize int
|
|
TargetKeyword string
|
|
OperatorKeyword string
|
|
StartMs int64
|
|
EndMs int64
|
|
}
|
|
|
|
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"`
|
|
}
|