Commit 99874130 by 张洪旺

支持现金支付

parent c5869901
...@@ -65,6 +65,7 @@ public class PaymentService { ...@@ -65,6 +65,7 @@ public class PaymentService {
//支持的支付方式 //支持的支付方式
Map<Integer, PayChannelEnum> channelEnumMap = ImmutableMap.of(PayChannelEnum.SVC.getCode(), PayChannelEnum.SVC, Map<Integer, PayChannelEnum> channelEnumMap = ImmutableMap.of(PayChannelEnum.SVC.getCode(), PayChannelEnum.SVC,
PayChannelEnum.WECHAT.getCode(), PayChannelEnum.WECHAT, PayChannelEnum.WECHAT.getCode(), PayChannelEnum.WECHAT,
PayChannelEnum.CASH.getCode(), PayChannelEnum.CASH,
PayChannelEnum.ALIPAY.getCode(), PayChannelEnum.ALIPAY PayChannelEnum.ALIPAY.getCode(), PayChannelEnum.ALIPAY
); );
PayChannelEnum payChannelEnum = channelEnumMap.get(request.getPayChannel()); PayChannelEnum payChannelEnum = channelEnumMap.get(request.getPayChannel());
......
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