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 {
142142 */
143143 EcommerceService getEcommerceService ();
144144
145+ /**
146+ * 微信支付通用媒体服务类
147+ * @return
148+ */
149+ MerchantMediaService getMerchantMediaService ();
150+
145151 /**
146152 * 设置企业付款服务类,允许开发者自定义实现类.
147153 *
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ public abstract class BaseWxPayServiceImpl implements WxPayService {
6464 private RedpackService redpackService = new RedpackServiceImpl (this );
6565 private PayScoreService payScoreService = new PayScoreServiceImpl (this );
6666 private EcommerceService ecommerceService = new EcommerceServiceImpl (this );
67+ private MerchantMediaService merchantMediaService =new MerchantMediaServiceImpl (this );
6768
6869 /**
6970 * The Config.
@@ -95,6 +96,11 @@ public EcommerceService getEcommerceService() {
9596 return ecommerceService ;
9697 }
9798
99+ @ Override
100+ public MerchantMediaService getMerchantMediaService () {
101+ return merchantMediaService ;
102+ }
103+
98104 @ Override
99105 public void setEntPayService (EntPayService entPayService ) {
100106 this .entPayService = entPayService ;
You can’t perform that action at this time.
0 commit comments