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