|
|
@@ -74,6 +74,8 @@ func DealUserGreenCoinDoubleChainIntegral(Db *xorm.Engine, uid int, amount, ordI |
|
|
|
parentAmountValue, _ := decimal.NewFromString(parentAmount) |
|
|
|
if parentAmountValue.LessThan(amountValue) { |
|
|
|
//TODO::上级绿色积分小于当前需要兑换积分金额 |
|
|
|
amountValue = parentAmountValue |
|
|
|
amount = amountValue.String() |
|
|
|
return |
|
|
|
} |
|
|
|
if userAmountValue.LessThan(amountValue) { |
|
|
|