Commit 5f883542 by 吕明尚

Merge remote-tracking branch 'origin/dev' into dev

# Conflicts:
#	share-system/src/main/java/share/system/service/impl/OrderPayServiceImpl.java
parents 29be62f1 6e1df475
...@@ -20,10 +20,12 @@ import share.common.exception.base.BaseException; ...@@ -20,10 +20,12 @@ import share.common.exception.base.BaseException;
import share.common.utils.BaseUtil; import share.common.utils.BaseUtil;
import share.common.utils.DateUtil; import share.common.utils.DateUtil;
import share.common.utils.JsonConvertUtil; import share.common.utils.JsonConvertUtil;
import share.system.domain.Recharge;
import share.system.domain.SConsumerToken; import share.system.domain.SConsumerToken;
import share.system.domain.SOrder; import share.system.domain.SOrder;
import share.system.domain.vo.*; import share.system.domain.vo.*;
import share.system.response.OrderPayResultResponse; import share.system.response.OrderPayResultResponse;
import share.system.response.RechargePayResultResponse;
import share.system.service.*; import share.system.service.*;
import share.system.util.WxPayUtil; import share.system.util.WxPayUtil;
...@@ -54,8 +56,8 @@ public class OrderPayServiceImpl implements OrderPayService { ...@@ -54,8 +56,8 @@ public class OrderPayServiceImpl implements OrderPayService {
@Autowired @Autowired
private SaobeiService saobeiService; private SaobeiService saobeiService;
// @Autowired @Autowired
// private RechargeService rechargeService; private RechargeService rechargeService;
/** /**
* 获取域名 * 获取域名
...@@ -106,11 +108,11 @@ public class OrderPayServiceImpl implements OrderPayService { ...@@ -106,11 +108,11 @@ public class OrderPayServiceImpl implements OrderPayService {
return response; return response;
} }
/** // /**
* 充值支付(扫呗-微信支付) // * 充值支付(扫呗-微信支付)
* @param recharge 支付参数 // * @param recharge 支付参数
* @return // * @return
*/ // */
// @Override // @Override
// public RechargePayResultResponse saobeiRechargePayment(Recharge recharge) { // public RechargePayResultResponse saobeiRechargePayment(Recharge recharge) {
// RechargePayResultResponse response = new RechargePayResultResponse(); // RechargePayResultResponse response = new RechargePayResultResponse();
...@@ -257,11 +259,11 @@ public class OrderPayServiceImpl implements OrderPayService { ...@@ -257,11 +259,11 @@ public class OrderPayServiceImpl implements OrderPayService {
return vo; return vo;
} }
/** // /**
* 预下单 (扫呗-微信) // * 预下单 (扫呗-微信)
* @param recharge 充值对象 // * @param recharge 充值对象
* @return 预下单返回对象 // * @return 预下单返回对象
*/ // */
// private ConcurrentHashMap<String, String> saobeiUnifiedRecharge(Recharge recharge) { // private ConcurrentHashMap<String, String> saobeiUnifiedRecharge(Recharge recharge) {
// // 获取用户openId // // 获取用户openId
// SConsumerToken userToken = consumerTokenService.getTokenByUserId(recharge.getConsumerId()); // SConsumerToken userToken = consumerTokenService.getTokenByUserId(recharge.getConsumerId());
...@@ -291,12 +293,12 @@ public class OrderPayServiceImpl implements OrderPayService { ...@@ -291,12 +293,12 @@ public class OrderPayServiceImpl implements OrderPayService {
// map.put("terminalTrace", unifiedorderVo.getTerminal_trace()); // map.put("terminalTrace", unifiedorderVo.getTerminal_trace());
// return map; // return map;
// } // }
//
/** // /**
* 获取预下单对象 (扫呗-微信) // * 获取预下单对象 (扫呗-微信)
* 充值 // * 充值
* @return 预下单对象 // * @return 预下单对象
*/ // */
// private SaobeiMiniPayRequestVo getSaobeiUnifiedRechargeVo(Recharge recharge, String openid, String appId, String mchId, String signKey) { // private SaobeiMiniPayRequestVo getSaobeiUnifiedRechargeVo(Recharge recharge, String openid, String appId, String mchId, String signKey) {
// AttachVo attachVo = new AttachVo(OrderTypeEnum.RECHARGE.getValue(), recharge.getConsumerId()); // AttachVo attachVo = new AttachVo(OrderTypeEnum.RECHARGE.getValue(), recharge.getConsumerId());
// //
......
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