|
|
@@ -72,25 +72,25 @@ func GetEggEnergyBasic(c *gin.Context) { |
|
|
|
} |
|
|
|
|
|
|
|
var videoRewardSystem md2.VideoRewardSystemStruct |
|
|
|
utils.Unserialize([]byte(basicSettings.VideoRewardSystem), videoRewardSystem) |
|
|
|
utils.Unserialize([]byte(basicSettings.VideoRewardSystem), &videoRewardSystem) |
|
|
|
|
|
|
|
var destructionSetting md2.DestructionSettingStruct |
|
|
|
utils.Unserialize([]byte(basicSettings.DestructionSetting), destructionSetting) |
|
|
|
utils.Unserialize([]byte(basicSettings.DestructionSetting), &destructionSetting) |
|
|
|
|
|
|
|
var priceSetting md2.PriceSettingStruct |
|
|
|
utils.Unserialize([]byte(basicSettings.PriceSetting), priceSetting) |
|
|
|
utils.Unserialize([]byte(basicSettings.PriceSetting), &priceSetting) |
|
|
|
|
|
|
|
var exchangeRules md2.ExchangeRulesStruct |
|
|
|
utils.Unserialize([]byte(basicSettings.ExchangeRules), exchangeRules) |
|
|
|
utils.Unserialize([]byte(basicSettings.ExchangeRules), &exchangeRules) |
|
|
|
|
|
|
|
var rewardSystem md2.RewardSystemStruct |
|
|
|
utils.Unserialize([]byte(basicSettings.RewardSystem), rewardSystem) |
|
|
|
utils.Unserialize([]byte(basicSettings.RewardSystem), &rewardSystem) |
|
|
|
|
|
|
|
var newUserRewardRules md2.NewUserRewardRules |
|
|
|
utils.Unserialize([]byte(basicSettings.NewUserIncentiveRules), newUserRewardRules) |
|
|
|
utils.Unserialize([]byte(basicSettings.NewUserIncentiveRules), &newUserRewardRules) |
|
|
|
|
|
|
|
var directPushReward md2.TeamRewardSettingStruct |
|
|
|
utils.Unserialize([]byte(basicSettings.DirectPushReward), directPushReward) |
|
|
|
utils.Unserialize([]byte(basicSettings.DirectPushReward), &directPushReward) |
|
|
|
|
|
|
|
resp := md.GetEggEnergyBasicResp{ |
|
|
|
BasicSetting: md.BasicSetting{ |
|
|
|