diff --git a/rule/integral_release_settlement.go b/rule/integral_release_settlement.go index 9aae5a7..453c3b4 100644 --- a/rule/integral_release_settlement.go +++ b/rule/integral_release_settlement.go @@ -249,7 +249,7 @@ func ReleaseGreenCoinForUser(session *xorm.Session, mid string, integralReleaseB //1、计算需要释放多少绿积分 totalRedCoinNum, _ := decimal.NewFromString(integralReleaseUserWithOrd.TotalRedCoinNum) releasedGreenCoinNum, _ := decimal.NewFromString(integralReleaseUserWithOrd.ReleasedGreenCoinNum) - releaseCoinNum := totalRedCoinNum.Sub(releasedGreenCoinNum).Mul(releaseSpeed).RoundFloor(4) + releaseCoinNum := totalRedCoinNum.Sub(releasedGreenCoinNum).Mul(releaseSpeed).RoundFloor(8) //2、释放绿积分 var title = md.IntegralReleaseGreenCoinGrantByOrdTitleForUserVirtualCoinFlow