|
@@ -3,7 +3,6 @@ package com.yohoufo.order.service.pay.weixin; |
|
@@ -3,7 +3,6 @@ package com.yohoufo.order.service.pay.weixin; |
3
|
import com.yohoufo.common.utils.HttpClient;
|
3
|
import com.yohoufo.common.utils.HttpClient;
|
4
|
import com.yohoufo.order.config.WeixinPayConfig;
|
4
|
import com.yohoufo.order.config.WeixinPayConfig;
|
5
|
import com.yohoufo.order.service.pay.weixin.ssl.WxMiniappHttpSslClient;
|
5
|
import com.yohoufo.order.service.pay.weixin.ssl.WxMiniappHttpSslClient;
|
6
|
-import com.yohoufo.order.service.pay.weixin.ssl.WxUFORealAppHttpSslClient;
|
|
|
7
|
import org.springframework.beans.factory.annotation.Autowired;
|
6
|
import org.springframework.beans.factory.annotation.Autowired;
|
8
|
import org.springframework.stereotype.Service;
|
7
|
import org.springframework.stereotype.Service;
|
9
|
|
8
|
|
|
@@ -14,7 +13,7 @@ import org.springframework.stereotype.Service; |
|
@@ -14,7 +13,7 @@ import org.springframework.stereotype.Service; |
14
|
public class WeixinMiniappPayService extends AbstractWeixinPayService {
|
13
|
public class WeixinMiniappPayService extends AbstractWeixinPayService {
|
15
|
|
14
|
|
16
|
@Autowired
|
15
|
@Autowired
|
17
|
- private WxUFORealAppHttpSslClient wxUFORealAppHttpSslClient;
|
16
|
+ private WxMiniappHttpSslClient wxMiniappHttpSslClient;
|
18
|
|
17
|
|
19
|
@Override
|
18
|
@Override
|
20
|
protected String getMchId() {
|
19
|
protected String getMchId() {
|
|
@@ -43,6 +42,6 @@ public class WeixinMiniappPayService extends AbstractWeixinPayService { |
|
@@ -43,6 +42,6 @@ public class WeixinMiniappPayService extends AbstractWeixinPayService { |
43
|
|
42
|
|
44
|
@Override
|
43
|
@Override
|
45
|
protected HttpClient getSslHttpClient() {
|
44
|
protected HttpClient getSslHttpClient() {
|
46
|
- return wxUFORealAppHttpSslClient;
|
45
|
+ return wxMiniappHttpSslClient;
|
47
|
}
|
46
|
}
|
48
|
} |
47
|
} |