瀏覽代碼

update

master
DengBiao 11 月之前
父節點
當前提交
afa017a15e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      rule/one_circles/one_circles_sign_in_green_energy_settlement.go

+ 1
- 1
rule/one_circles/one_circles_sign_in_green_energy_settlement.go 查看文件

@@ -154,7 +154,7 @@ func CalcNowSignInGreenEnergy(engine *xorm.Engine, oneCirclesGreenEnergyBasicSet
userCount := zhios_order_relate_utils.StrToInt64(nativeString[0]["total"])

for _, v := range signInRewards {
if zhios_order_relate_utils.StrToInt64(v.VipMemberEndNums) <= userCount && userCount <= zhios_order_relate_utils.StrToInt64(v.VipMemberStartNums) {
if zhios_order_relate_utils.StrToInt64(v.VipMemberEndNums) >= userCount && userCount >= zhios_order_relate_utils.StrToInt64(v.VipMemberStartNums) {
//rewardValue = zhios_order_relate_utils.Float64ToStrPrec8(zhios_order_relate_utils.StrToFloat64(v.RewardValue) * float64(oneRoundDuration) * 60 * 60)
rewardValue = v.RewardValue
}


Loading…
取消
儲存