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