支付验证修改
parent
9ba09a5f3e
commit
233fb6764e
|
@ -219,7 +219,7 @@ public class BuyGoodsNewLogic {
|
|||
double price = 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 != price){
|
||||
resultRes.setResultMsg("charge price error");
|
||||
LOGGER.error("sendGoods 金额校验失败, uid={},the goodId={}, currentPrice={},realPrice={}",uid,goodsId, amount,price);
|
||||
return resultRes;
|
||||
|
|
Loading…
Reference in New Issue