Browse Source

update

master
DengBiao 11 months ago
parent
commit
2c38e1fe5c
1 changed files with 6 additions and 0 deletions
  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 View File

@@ -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)


Loading…
Cancel
Save