免费礼包
parent
ae78e720ff
commit
503cae2f46
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue