Ver a proveniência

update 中基积分

tags/v4.0.9
DengBiao há 1 ano
ascendente
cometimento
bf0e21a8b9
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      rule/integral_release_settlement.go

+ 1
- 1
rule/integral_release_settlement.go Ver ficheiro

@@ -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)
releaseCoinNum := totalRedCoinNum.Sub(releasedGreenCoinNum).Mul(releaseSpeed).RoundFloor(4)

//2、释放绿积分
var title = md.IntegralReleaseGreenCoinGrantByOrdTitleForUserVirtualCoinFlow


Carregando…
Cancelar
Guardar