DengBiao 9 месяцев назад
Родитель
Сommit
2c38e1fe5c
1 измененных файлов: 6 добавлений и 0 удалений
  1. +6
    -0
      rule/one_circles/one_circles_sign_in_green_energy_settlement.go

+ 6
- 0
rule/one_circles/one_circles_sign_in_green_energy_settlement.go Просмотреть файл

@@ -136,6 +136,12 @@ func CalcNowSignInGreenEnergy(engine *xorm.Engine, oneCirclesGreenEnergyBasicSet
return
}
}
var teamRewardSetting *md2.TeamRewardSettingStruct
err = json.Unmarshal([]byte(oneCirclesGreenEnergyBasicSetting.VipEquitySetting), &teamRewardSetting)
if err != nil {
return
}
var oneRoundDuration = zhios_order_relate_utils.StrToInt(teamRewardSetting.OneRoundDuration)

var signInRewards []*md2.SignInRewardStruct
err = json.Unmarshal([]byte(oneCirclesGreenEnergyBasicSetting.VipEquitySetting), &signInRewards)


Загрузка…
Отмена
Сохранить