feat(app): update

This commit is contained in:
Yangtao
2025-11-19 14:24:13 +08:00
parent 1eac66d7fd
commit 0c34585649
329 changed files with 10760 additions and 281 deletions

49
pkg/dto/RankDTO.go Normal file
View File

@ -0,0 +1,49 @@
package dto
import "github.com/shopspring/decimal"
type RichStatDTO struct {
UserNo string `json:"UserNo"`
NickName string `json:"NickName"`
Avatar string `json:"Avatar"`
UserID string `json:"-"`
HomeSchema string `json:"HomeSchema"`
Cnt decimal.Decimal `json:"Cnt"`
Amount decimal.Decimal `json:"Amount"`
}
type PopularityStatDTO struct {
UserNo string `json:"UserNo"`
NickName string `json:"NickName"`
Avatar string `json:"Avatar"`
UserID string `json:"-"`
HomeSchema string `json:"HomeSchema"`
Cnt decimal.Decimal `json:"Cnt"`
Amount decimal.Decimal `json:"Amount"`
}
type GeneralStatDTO struct {
UserNo string `json:"UserNo"`
NickName string `json:"NickName"`
Avatar string `json:"Avatar"`
UserID string `json:"-"`
HomeSchema string `json:"HomeSchema"`
Amount decimal.Decimal `json:"Amount"`
RankNo int64 `json:"RankNo"`
}
type MySelfRank struct {
Day *GeneralStatDTO
Week *GeneralStatDTO
Month *GeneralStatDTO
Year *GeneralStatDTO
}
type CombineStatDTO struct {
Day []*GeneralStatDTO
Week []*GeneralStatDTO
Month []*GeneralStatDTO
Year []*GeneralStatDTO
MySelfRank *MySelfRank
RankCode string
}