Commit fa0aabb4 by wuwenlong

测试环境支付回调设置,不可合并到线上

parent 8cf074a9
...@@ -143,7 +143,7 @@ public class OrderPayServiceImpl implements OrderPayService { ...@@ -143,7 +143,7 @@ public class OrderPayServiceImpl implements OrderPayService {
*/ */
private CreateOrderRequestVo getUnifiedorderVo(SOrder sOrder, String openid, String appId, String mchId, String signKey) { private CreateOrderRequestVo getUnifiedorderVo(SOrder sOrder, String openid, String appId, String mchId, String signKey) {
// 获取域名 // 获取域名
String apiDomain = Constants.CONFIG_KEY_API_URL; String apiDomain = Constants.CONFIG_KEY_SITE_URL;
AttachVo attachVo = new AttachVo(OrderTypeEnum.getEnumByCode(sOrder.getOrderType()).getValue(), sOrder.getConsumerId()); AttachVo attachVo = new AttachVo(OrderTypeEnum.getEnumByCode(sOrder.getOrderType()).getValue(), sOrder.getConsumerId());
CreateOrderRequestVo vo = new CreateOrderRequestVo(); CreateOrderRequestVo vo = new CreateOrderRequestVo();
...@@ -205,7 +205,7 @@ public class OrderPayServiceImpl implements OrderPayService { ...@@ -205,7 +205,7 @@ public class OrderPayServiceImpl implements OrderPayService {
*/ */
private SaobeiMiniPayRequestVo getSaobeiUnifiedOrderVo(SOrder sOrder, String openid, String appId, String mchId, String signKey) { private SaobeiMiniPayRequestVo getSaobeiUnifiedOrderVo(SOrder sOrder, String openid, String appId, String mchId, String signKey) {
// 获取域名 // 获取域名
String apiDomain = Constants.CONFIG_KEY_API_URL; String apiDomain = Constants.CONFIG_KEY_SITE_URL;
AttachVo attachVo = new AttachVo(OrderTypeEnum.getEnumByCode(sOrder.getOrderType()).getValue(), sOrder.getConsumerId()); AttachVo attachVo = new AttachVo(OrderTypeEnum.getEnumByCode(sOrder.getOrderType()).getValue(), sOrder.getConsumerId());
SaobeiMiniPayRequestVo vo = new SaobeiMiniPayRequestVo(); SaobeiMiniPayRequestVo vo = new SaobeiMiniPayRequestVo();
......
...@@ -77,8 +77,8 @@ public class OrderRefundServiceImpl extends ServiceImpl<SOrderMapper, SOrder> im ...@@ -77,8 +77,8 @@ public class OrderRefundServiceImpl extends ServiceImpl<SOrderMapper, SOrder> im
String appId = weChatConfig.getAppId(); String appId = weChatConfig.getAppId();
String mchId = weChatConfig.getMchId(); String mchId = weChatConfig.getMchId();
String signKey = weChatConfig.getSignKey(); String signKey = weChatConfig.getSignKey();
String path = weChatConfig.getCertPath(); //TODO 商户证书路径p12(待提供) String path = weChatConfig.getCertPath();
String apiDomain = Constants.CONFIG_KEY_API_URL; String apiDomain = Constants.CONFIG_KEY_SITE_URL;
//统一下单数据 //统一下单数据
WxRefundVo wxRefundVo = new WxRefundVo(); WxRefundVo wxRefundVo = new WxRefundVo();
wxRefundVo.setAppid(appId); wxRefundVo.setAppid(appId);
......
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