Commit c2dfcedb by xiaoer.li@freemud.com

fix:c端支付方式

parent 0979065b
...@@ -1121,16 +1121,12 @@ public class OrderAdapter { ...@@ -1121,16 +1121,12 @@ public class OrderAdapter {
responseVo.setPayCreateTime(orderExtInfoDto != null ? orderExtInfoDto.getPayDate() : ""); responseVo.setPayCreateTime(orderExtInfoDto != null ? orderExtInfoDto.getPayDate() : "");
responseVo.setPayChannel(ordersBean.getPayChannel()); responseVo.setPayChannel(ordersBean.getPayChannel());
if (StringUtils.isNotBlank(ordersBean.getPayChannel())) { if (StringUtils.isNotBlank(ordersBean.getPayChannel())) {
if ("10102".equals(ordersBean.getPayChannel())) { PayChannelType ebcode = PayChannelType.getByEbcode(ordersBean.getPayChannel());
responseVo.setOrderPayType("储值卡支付"); if (ebcode!=null) {
} else if (PayChannel.ALIPAY.getCode().equals(ordersBean.getPayChannel())) { responseVo.setOrderPayType(ebcode.getName());
responseVo.setOrderPayType("支付宝支付"); }
} else if (PayChannel.WXPAY.getCode().equals(ordersBean.getPayChannel())) { else {
responseVo.setOrderPayType("微信支付"); responseVo.setOrderPayType(PayChannelType.WECHAT.getName());
} else if (Objects.equals(PayChannel.USVCP.getCode(), ordersBean.getPayChannel())) {
responseVo.setOrderPayType("电子风味卡支付");
} else {
responseVo.setOrderPayType("微信支付");
} }
} }
else { else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment