Commit c064b818 by ping.wu

返回支付宝渠道名称

parent e0a6cdd9
...@@ -869,6 +869,9 @@ public class OrderAdapter { ...@@ -869,6 +869,9 @@ public class OrderAdapter {
}else { }else {
responseVo.setOrderPayType("微信支付"); responseVo.setOrderPayType("微信支付");
} }
if(OrderSourceType.ALIPAY.getCode().equals(ordersBean.getSource())){
responseVo.setOrderPayType("支付宝支付");
}
//取餐码用日订单序号代替- v1.5.4变更为四位随机数 //取餐码用日订单序号代替- v1.5.4变更为四位随机数
responseVo.setTakeCode(ordersBean.getOtherCode()); responseVo.setTakeCode(ordersBean.getOtherCode());
responseVo.setAmount(ordersBean.getAmount()); responseVo.setAmount(ordersBean.getAmount());
......
...@@ -28,7 +28,9 @@ public enum OrderSourceType { ...@@ -28,7 +28,9 @@ public enum OrderSourceType {
MALL("mall", "非码Mall"), MALL("mall", "非码Mall"),
SAAS("saas", "saas 点餐"); SAAS("saas", "saas 点餐"),
ALIPAY("alipay", "支付宝小程序点餐");
private String code; private String code;
......
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