调整H5支付和充值

This commit is contained in:
TinyAnts 2023-04-01 11:17:11 +08:00
parent adc909db55
commit b0a9b4570e
3 changed files with 2 additions and 4 deletions

View File

@ -258,4 +258,5 @@ public class FinanceRechargerServiceImpl implements IFinanceRechargerService {
throw new OperateException(e.getMessage());
}
}
}

View File

@ -95,7 +95,7 @@ public class SettingPaymentServiceImpl implements ISettingPaymentService {
for (DevPayConfig dev : devPayConfigs) {
dev.setShowName(dev.getName());
dev.setName(PaymentEnum.getPayWayMsg(dev.getWay()));
dev.setParams(MapUtils.jsonToMap(dev.getParams().toString()));
dev.setParams(MapUtils.jsonToMap("{}"));
dev.setIcon(UrlUtils.toAbsoluteUrl(dev.getIcon()));
}

View File

@ -172,9 +172,6 @@ public class PayServiceImpl implements IPayService {
Assert.notNull(params.getRedirectUrl(), "redirectUrl参数缺失");
Map<String, String> map = new LinkedHashMap<>();
String h5Url = result.toString();
// String redirectUrl = RequestUtils.uri() + params.getRedirectUrl();
// redirectUrl += "?checkPay=true&scene="+params.getAttach()+"&orderId="+params.getOrderId();
// h5Url += "&redirect_url="+redirectUrl;
map.put("url", h5Url);
return map;
}