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