File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,12 @@ public interface WxPayService {
142
142
*/
143
143
EcommerceService getEcommerceService ();
144
144
145
+ /**
146
+ * 微信支付通用媒体服务类
147
+ * @return
148
+ */
149
+ MerchantMediaService getMerchantMediaService ();
150
+
145
151
/**
146
152
* 设置企业付款服务类,允许开发者自定义实现类.
147
153
*
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ public abstract class BaseWxPayServiceImpl implements WxPayService {
64
64
private RedpackService redpackService = new RedpackServiceImpl (this );
65
65
private PayScoreService payScoreService = new PayScoreServiceImpl (this );
66
66
private EcommerceService ecommerceService = new EcommerceServiceImpl (this );
67
+ private MerchantMediaService merchantMediaService =new MerchantMediaServiceImpl (this );
67
68
68
69
/**
69
70
* The Config.
@@ -95,6 +96,11 @@ public EcommerceService getEcommerceService() {
95
96
return ecommerceService ;
96
97
}
97
98
99
+ @ Override
100
+ public MerchantMediaService getMerchantMediaService () {
101
+ return merchantMediaService ;
102
+ }
103
+
98
104
@ Override
99
105
public void setEntPayService (EntPayService entPayService ) {
100
106
this .entPayService = entPayService ;
You can’t perform that action at this time.
0 commit comments