From e032e0807b48dd4c50f07b8da5760204d15cce15 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Wed, 9 Aug 2023 14:38:33 +0800 Subject: [PATCH] =?UTF-8?q?6.5.4=E7=A4=BC=E7=89=A9=E5=86=A0=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- live/src/main/java/com/yunbao/live/bean/CoinModel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/bean/CoinModel.java b/live/src/main/java/com/yunbao/live/bean/CoinModel.java index 8e168bd45..67e8595e2 100644 --- a/live/src/main/java/com/yunbao/live/bean/CoinModel.java +++ b/live/src/main/java/com/yunbao/live/bean/CoinModel.java @@ -39,7 +39,7 @@ public class CoinModel extends BaseModel { coin = coin + "k"; } if (999999999999L < coinMoney && coinMoney <= 999999999999999L) { - coin = coin.substring(0, coin.length() - 3); + coin = coin.substring(0, coin.length() - 6); coin = coin + "M"; } return coin; @@ -57,7 +57,7 @@ public class CoinModel extends BaseModel { gold = gold + "k"; } if (999999999999L < goldMoney && goldMoney <= 999999999999999L) { - gold = gold.substring(0, gold.length() - 3); + gold = gold.substring(0, gold.length() - 6); gold = gold + "M"; } return gold;