Browse Source

update

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

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


for _, v := range signInRewards { 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 = zhios_order_relate_utils.Float64ToStrPrec8(zhios_order_relate_utils.StrToFloat64(v.RewardValue) * float64(oneRoundDuration) * 60 * 60)
rewardValue = v.RewardValue rewardValue = v.RewardValue
} }


Loading…
Cancel
Save