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

View File

@ -0,0 +1,16 @@
package activity_dto
type BossBasicDTO struct {
Balance int64
BossId int64
MonsterId string
MonsterName string
MonsterAvatar string
MonsterNormalApng string
MonsterAttackApng string
BossHp string
BossHpPass string
AppearAt string
DisappearAt string
State string
}

View File

@ -0,0 +1,23 @@
package activity_dto
type BossHpAndAttackRankDTO struct {
Hp string
HpPass string
State string
AppearAt string
DisappearAt string
Balance int64
AttackBossRankList []AttackBossRankDTO // 输出排行榜
NewWinPrizeMsgList []string // 最新中奖信息
// NewDeathPrize model_activity.ActivityDeathBossPrizeModel
}
// 用户输出排行榜对象
type AttackBossRankDTO struct {
Rank string
UserId string
UserNo string
NickName string
Avatar string
AttackScore string
}

View File

@ -0,0 +1,19 @@
package activity_dto
type ChatRoomLuckPrize struct {
Name string
Icon string
Price int64
PriceType string
MaxValue int64
PrizeList []ChatRoomLuckPrizeItem
}
type ChatRoomLuckPrizeItem struct {
Name string
Icon string
Value int64
PriceType string
Probability string
Type string
}

View File

@ -0,0 +1,18 @@
package activity_dto
type GeneralRankRewardDTO struct {
Item []*GeneralRankRewardItem // 下对应top-1
RankCode string // 排行榜code 唯一
}
type GeneralRankRewardItem struct {
Top int // rank top 1 2 3
GiftIdLst []*GiftReward // 礼物
}
type GiftReward struct {
GiftId string // 礼物ID
Count int // 数量
Name string
Img string
}

View File

@ -0,0 +1,29 @@
package activity_dto
type StarGiftDTO struct {
Name string `json:"name"`
Price string `json:"price"`
Img string `json:"img"`
}
type RankDTO struct {
SortNo int `json:"sortNo"`
YearWeek int `json:"yearWeek"`
WeekStart string `json:"weekStart"`
WeekEnd string `json:"weekEnd"`
UserId string `json:"userId"`
UserNo string `json:"userNo"`
GiftCount int `json:"giftCount"`
GiftAmount int `json:"giftAmount"`
NickName string `json:"nickName"`
Avatar string `json:"avatar"`
NamingGiftId int32 `json:"namingGiftId"`
NamingGiftDescription string `json:"namingGiftDescription"`
JumpUrl string `json:"jumpUrl"`
}
type RankResponse struct {
YearWeek int `json:"yearWeek"`
WeekStart string `json:"weekStart"`
WeekEnd string `json:"weekEnd"`
RankDTOList []*RankDTO `json:"rankDTOList"`
}

View File

@ -0,0 +1,11 @@
package activity_dto
type WeekStarGrantGiftDTO struct {
GrantType string
GrantList map[int][]WeekStarGrantGiftRankGiftDto
}
type WeekStarGrantGiftRankGiftDto struct {
GiftID string
Count int
}