基础架构
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package queries
|
||||
|
||||
// ListWalletsQuery 钱包列表查询参数
|
||||
type ListWalletsQuery struct {
|
||||
Page int `json:"page"`
|
||||
PageSize int `json:"page_size"`
|
||||
UserID string `json:"user_id"`
|
||||
WalletType string `json:"wallet_type"`
|
||||
WalletAddress string `json:"wallet_address"`
|
||||
IsActive *bool `json:"is_active"`
|
||||
StartDate string `json:"start_date"`
|
||||
EndDate string `json:"end_date"`
|
||||
}
|
||||
|
||||
// ListUserSecretsQuery 用户密钥列表查询参数
|
||||
type ListUserSecretsQuery struct {
|
||||
Page int `json:"page"`
|
||||
PageSize int `json:"page_size"`
|
||||
UserID string `json:"user_id"`
|
||||
SecretType string `json:"secret_type"`
|
||||
IsActive *bool `json:"is_active"`
|
||||
StartDate string `json:"start_date"`
|
||||
EndDate string `json:"end_date"`
|
||||
}
|
||||
Reference in New Issue
Block a user