gm扶持发送礼包
parent
66a1236424
commit
ddffe04d73
|
@ -172,7 +172,7 @@ public class BuyGoodsNewLogic {
|
||||||
double priceTemp =config.getPrice();
|
double priceTemp =config.getPrice();
|
||||||
int cfgType = SSpecialConfig.getIntegerValue(SSpecialConfig.EXCHANGE_FORCE_TYPE);
|
int cfgType = SSpecialConfig.getIntegerValue(SSpecialConfig.EXCHANGE_FORCE_TYPE);
|
||||||
double price = priceTemp==0?0: SExchangeRate.doubleIntegerHashMap.get(cfgType).get((int)priceTemp);
|
double price = priceTemp==0?0: SExchangeRate.doubleIntegerHashMap.get(cfgType).get((int)priceTemp);
|
||||||
if(amount!=-999&&!MathUtils.doubleEquals(amount,price * 100)){
|
if(amount!=-999&&!MathUtils.doubleEquals(amount,price * 100)&&!orderId.equals("support-order")){
|
||||||
resultRes.setResultCode(0);
|
resultRes.setResultCode(0);
|
||||||
resultRes.setResultMsg("charge count error");
|
resultRes.setResultMsg("charge count error");
|
||||||
LOGGER.error("charge count error, uid={},the goodId={}, currentPrice={},realPrice={}",uid,goodsId, amount,price);
|
LOGGER.error("charge count error, uid={},the goodId={}, currentPrice={},realPrice={}",uid,goodsId, amount,price);
|
||||||
|
|
Loading…
Reference in New Issue