6.5.4礼物冠名

This commit is contained in:
18401019693 2023-08-09 14:38:33 +08:00
parent 24ed313f60
commit e032e0807b

View File

@ -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;