充值金额过滤
parent
82673bcee7
commit
b27077e6f2
|
@ -146,9 +146,9 @@ public class BuyGoodsLogic {
|
||||||
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)){
|
if(amount!=-999&&MathUtils.doubleEquals(amount,price)){
|
||||||
LOGGER.error("金额不对the uid={},the goodId={}, amount={},real={}", uid, goodsId, amount,price);
|
LOGGER.error("金额不对the uid={},the goodId={}, amount={},real={}", uid, goodsId, amount,price);
|
||||||
// resultRes.setResultCode(0);
|
resultRes.setResultCode(0);
|
||||||
// resultRes.setResultMsg("前后端金额不对"+amount+"realMoney = " + realMoney);
|
resultRes.setResultMsg("前后端金额不对"+amount+"realMoney = " + String.valueOf(price));
|
||||||
// return resultRes;
|
return resultRes;
|
||||||
}
|
}
|
||||||
RechargeInfo rechargeInfo = user.getPlayerInfoManager().getRechargeInfo();
|
RechargeInfo rechargeInfo = user.getPlayerInfoManager().getRechargeInfo();
|
||||||
Map<Integer, Integer> buyGoodsTimes = rechargeInfo.getBuyGoodsTimes();
|
Map<Integer, Integer> buyGoodsTimes = rechargeInfo.getBuyGoodsTimes();
|
||||||
|
|
Loading…
Reference in New Issue