feat(app): update
This commit is contained in:
16
pkg/dto/activity/BossBasicDTO.go
Normal file
16
pkg/dto/activity/BossBasicDTO.go
Normal 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
|
||||
}
|
||||
23
pkg/dto/activity/BossHpAndAttackRankDTO.go
Normal file
23
pkg/dto/activity/BossHpAndAttackRankDTO.go
Normal 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
|
||||
}
|
||||
19
pkg/dto/activity/ChatRoomLuckPrizeDTO.go
Normal file
19
pkg/dto/activity/ChatRoomLuckPrizeDTO.go
Normal 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
|
||||
}
|
||||
18
pkg/dto/activity/GeneralRankGiftDTO.go
Normal file
18
pkg/dto/activity/GeneralRankGiftDTO.go
Normal 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
|
||||
}
|
||||
29
pkg/dto/activity/WeekStarDTO.go
Normal file
29
pkg/dto/activity/WeekStarDTO.go
Normal 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"`
|
||||
}
|
||||
11
pkg/dto/activity/WeekStarGiftGrantDTO.go
Normal file
11
pkg/dto/activity/WeekStarGiftGrantDTO.go
Normal file
@ -0,0 +1,11 @@
|
||||
package activity_dto
|
||||
|
||||
type WeekStarGrantGiftDTO struct {
|
||||
GrantType string
|
||||
GrantList map[int][]WeekStarGrantGiftRankGiftDto
|
||||
}
|
||||
|
||||
type WeekStarGrantGiftRankGiftDto struct {
|
||||
GiftID string
|
||||
Count int
|
||||
}
|
||||
Reference in New Issue
Block a user