You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
458 B
19 lines
458 B
package wallet
|
|
|
|
type queryWalletCoinParam struct {
|
|
UserID uint `json:"userId"`
|
|
Page uint `json:"page"`
|
|
}
|
|
|
|
type queryDateIncomeParam struct {
|
|
UserID uint `json:"userId"`
|
|
Page uint `json:"page"`
|
|
Date string `json:"date"`
|
|
}
|
|
|
|
type statistics struct {
|
|
OrderCount uint `gorm:"column:order_count" json:"orderCount"`
|
|
Income float64 `gorm:"column:income" json:"income"`
|
|
SalesAmount float64 `gorm:"column:sales_amount" json:"salesAmount"`
|
|
}
|