...
|
...
|
@@ -3,7 +3,6 @@ package com.yohoufo.order.service.pay.weixin; |
|
|
import com.yohoufo.common.utils.HttpClient;
|
|
|
import com.yohoufo.order.config.WeixinPayConfig;
|
|
|
import com.yohoufo.order.service.pay.weixin.ssl.WxMiniappHttpSslClient;
|
|
|
import com.yohoufo.order.service.pay.weixin.ssl.WxUFORealAppHttpSslClient;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
...
|
...
|
@@ -14,7 +13,7 @@ import org.springframework.stereotype.Service; |
|
|
public class WeixinMiniappPayService extends AbstractWeixinPayService {
|
|
|
|
|
|
@Autowired
|
|
|
private WxUFORealAppHttpSslClient wxUFORealAppHttpSslClient;
|
|
|
private WxMiniappHttpSslClient wxMiniappHttpSslClient;
|
|
|
|
|
|
@Override
|
|
|
protected String getMchId() {
|
...
|
...
|
@@ -43,6 +42,6 @@ public class WeixinMiniappPayService extends AbstractWeixinPayService { |
|
|
|
|
|
@Override
|
|
|
protected HttpClient getSslHttpClient() {
|
|
|
return wxUFORealAppHttpSslClient;
|
|
|
return wxMiniappHttpSslClient;
|
|
|
}
|
|
|
} |
...
|
...
|
|