支付验证修改

back_recharge
duhui 2023-05-22 11:07:53 +08:00
parent 9ba09a5f3e
commit 233fb6764e
1 changed files with 1 additions and 1 deletions

View File

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