金额使用整数, 不再扣押金, 价格每个人看到自己的-1
This commit is contained in:
@@ -202,7 +202,7 @@ func applyEntry(account *model.WalletAccount, entry Entry) (float64, error) {
|
||||
}
|
||||
|
||||
func roundWalletMoney(value float64) float64 {
|
||||
return math.Round(value*100) / 100
|
||||
return math.Round(value)
|
||||
}
|
||||
|
||||
func toAccountDTO(account model.WalletAccount) *AccountDTO {
|
||||
|
||||
Reference in New Issue
Block a user