测试充值

back_recharge
zhangshanxue 2020-08-25 18:29:17 +08:00
parent 459ef26b50
commit bacd35c48e
1 changed files with 10 additions and 8 deletions

View File

@ -54,7 +54,9 @@ public class SExchangeRate implements BaseConfig {
if (integer == 1) {
doubleIntegerHashMap.put(integerSExchangeRateEntry.getValue().getPrice_1(), Double.valueOf((int) field.get(integerSExchangeRateEntry.getValue())));
} else {
doubleIntegerHashMap.put(integerSExchangeRateEntry.getValue().getPrice_1(),Double.valueOf((float) field.get(integerSExchangeRateEntry.getValue())));
float f = (float) field.get(integerSExchangeRateEntry.getValue());
double v = Double.parseDouble(Float.toString(f));
doubleIntegerHashMap.put(integerSExchangeRateEntry.getValue().getPrice_1(), v);
}
} catch (Exception e) {