...
|
...
|
@@ -2,7 +2,7 @@ package com.yohoufo.order.service.pay.weixin; |
|
|
|
|
|
import com.yohoufo.order.config.WeixinPayConstants;
|
|
|
import com.yohoufo.order.service.pay.weixin.config.AbstractWeixinPayConfig;
|
|
|
import com.yohoufo.order.service.pay.weixin.config.UfoWeixinPayConfig;
|
|
|
import com.yohoufo.order.service.pay.weixin.config.UfoMiniPayConfig;
|
|
|
import com.yohoufo.order.service.pay.weixin.ssl.AbstractHttpSslClient;
|
|
|
import com.yohoufo.order.service.pay.weixin.ssl.WxUfoHttpSslClient;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
...
|
...
|
@@ -15,7 +15,7 @@ import org.springframework.stereotype.Service; |
|
|
public class MiniappWeixinPayService extends AbstractWeixinPayService {
|
|
|
|
|
|
@Autowired
|
|
|
UfoWeixinPayConfig ufoWeixinConfig;
|
|
|
UfoMiniPayConfig ufoMiniPayConfig;
|
|
|
|
|
|
@Autowired
|
|
|
WxUfoHttpSslClient wxUfoHttpSslClient;
|
...
|
...
|
@@ -27,7 +27,7 @@ public class MiniappWeixinPayService extends AbstractWeixinPayService { |
|
|
|
|
|
@Override
|
|
|
protected AbstractWeixinPayConfig abstractWeixinConfig() {
|
|
|
return ufoWeixinConfig;
|
|
|
return ufoMiniPayConfig;
|
|
|
}
|
|
|
|
|
|
@Override
|
...
|
...
|
|