根据产品要求提现新逻辑:一旦进入100% 条目,马上扣减现金+1
This commit is contained in:
parent
ba220384cb
commit
d47129dea7
|
|
@ -606,7 +606,7 @@ class WithdrawManager private constructor() {
|
||||||
if (curItem.hasStarted) {
|
if (curItem.hasStarted) {
|
||||||
return 1.0
|
return 1.0
|
||||||
} else {
|
} else {
|
||||||
itemProgress = userCashTotal / curItem.totalCashNum
|
itemProgress = if ((userCashTotal / curItem.totalCashNum) > 1.0) 1.0 else userCashTotal / curItem.totalCashNum
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue