DengBiao преди 11 месеца
родител
ревизия
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)


Зареждане…
Отказ
Запис