32 lines
671 B
Go
32 lines
671 B
Go
package coinledger
|
|
|
|
import "hyapp-admin-server/internal/modules/shared"
|
|
|
|
type listQuery struct {
|
|
Page int
|
|
PageSize int
|
|
UserKeyword string
|
|
UserFilter shared.UserIdentityFilter
|
|
BizType string
|
|
StartAtMS int64
|
|
EndAtMS int64
|
|
}
|
|
|
|
type coinSellerLedgerQuery struct {
|
|
Page int
|
|
PageSize int
|
|
SellerUserID int64
|
|
SellerKeyword string
|
|
SellerFilter shared.UserIdentityFilter
|
|
LedgerType string
|
|
StartAtMS int64
|
|
EndAtMS int64
|
|
}
|
|
|
|
type coinAdjustmentRequest struct {
|
|
CommandID string `json:"commandId"`
|
|
TargetUserID any `json:"targetUserId"`
|
|
Amount int64 `json:"amount"`
|
|
Reason string `json:"reason"`
|
|
}
|