取消汇率同步

back_recharge
duhui 2023-01-24 20:29:06 +08:00
parent d8f8d74576
commit 6bf86f81b0
1 changed files with 3 additions and 3 deletions

View File

@ -213,9 +213,9 @@ public class BuyGoodsNewLogic {
return resultRes;
}
goodsId = config.getId();
double priceTemp =config.getPrice();
int cfgType = SSpecialConfig.getIntegerValue(SSpecialConfig.EXCHANGE_FORCE_TYPE);
double price = priceTemp==0?0: SExchangeRate.doubleIntegerHashMap.get(cfgType).get((int)priceTemp);
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)){
resultRes.setResultCode(0);
resultRes.setResultMsg("charge price error");