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;