免费礼包

back_recharge
lvxinran 2021-06-12 15:37:14 +08:00
parent ae78e720ff
commit 503cae2f46
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ public class BuyGoodsNewLogic {
double priceTemp =config.getPrice();
int cfgType = SSpecialConfig.getIntegerValue(SSpecialConfig.EXCHANGE_FORCE_TYPE);
double price = priceTemp==0?0: SExchangeRate.doubleIntegerHashMap.get(cfgType).get((int)priceTemp);
if(!MathUtils.doubleEquals(amount,price * 100)){
if(amount!=-999&&!MathUtils.doubleEquals(amount,price * 100)){
resultRes.setResultCode(0);
resultRes.setResultMsg("charge count error");
LOGGER.error("charge count error, uid={},the goodId={}, currentPrice={},realPrice={}",uid,goodsId, amount,price);