瀏覽代碼

update

master
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 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 var signInRewards []*md2.SignInRewardStruct
err = json.Unmarshal([]byte(oneCirclesGreenEnergyBasicSetting.VipEquitySetting), &signInRewards) err = json.Unmarshal([]byte(oneCirclesGreenEnergyBasicSetting.VipEquitySetting), &signInRewards)


Loading…
取消
儲存