Commit 1ca4d084684c52abbdabcd466a3ae7a4a198b766

Authored by 王家文
1 parent d47bb28d
Exists in master and in 1 other branch dev-wjw

fix🐛:卡包配置加上卡包资源名

Showing 1 changed file with 8 additions and 7 deletions   Show diff stats
configs/confcardholder/config.go
@@ -115,13 +115,14 @@ type CardConfig struct { @@ -115,13 +115,14 @@ type CardConfig struct {
115 115
116 // OpenCardholderConfig 卡包开卡规则表 116 // OpenCardholderConfig 卡包开卡规则表
117 type OpenCardholderConfig struct { 117 type OpenCardholderConfig struct {
118 - Id int `json:"id"` // ID  
119 - IsGoldCardholder int `json:"is_gold_card_holder"` // 是否是金卡包  
120 - IsNew int `json:"is_new"` // 是否是新卡包  
121 - GuaranteedStarCardId int `json:"guaranteed_star_card_id"` // 保底卡星级序列ID  
122 - NormalCardNumber int `json:"normal_card_number"` // 非保底卡数量  
123 - MinimumGuaranteeCardId int `json:"minimum_guarantee_card_id"` // 非保底卡牌序列ID  
124 - ActivityId int `json:"activity_id"` // 对应活动ID 118 + Id int `json:"id"` // ID
  119 + CardPackIcon string `json:"img"` // 卡包资源名
  120 + IsGoldCardholder int `json:"is_gold_card_holder"` // 是否是金卡包
  121 + IsNew int `json:"is_new"` // 是否是新卡包
  122 + GuaranteedStarCardId int `json:"guaranteed_star_card_id"` // 保底卡星级序列ID
  123 + NormalCardNumber int `json:"normal_card_number"` // 非保底卡数量
  124 + MinimumGuaranteeCardId int `json:"minimum_guarantee_card_id"` // 非保底卡牌序列ID
  125 + ActivityId int `json:"activity_id"` // 对应活动ID
125 } 126 }
126 127
127 // NormalCardStarConfig 非保底卡星级ID 128 // NormalCardStarConfig 非保底卡星级ID