mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-07 14:17:47 +08:00
🎨 【微信支付】服务接口增加获取微信支付通用媒体服务的方法
This commit is contained in:
parent
384fab5cf2
commit
cbcba481b0
@ -142,6 +142,12 @@ public interface WxPayService {
|
|||||||
*/
|
*/
|
||||||
EcommerceService getEcommerceService();
|
EcommerceService getEcommerceService();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 微信支付通用媒体服务类
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
MerchantMediaService getMerchantMediaService();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 设置企业付款服务类,允许开发者自定义实现类.
|
* 设置企业付款服务类,允许开发者自定义实现类.
|
||||||
*
|
*
|
||||||
|
@ -64,6 +64,7 @@ public abstract class BaseWxPayServiceImpl implements WxPayService {
|
|||||||
private RedpackService redpackService = new RedpackServiceImpl(this);
|
private RedpackService redpackService = new RedpackServiceImpl(this);
|
||||||
private PayScoreService payScoreService = new PayScoreServiceImpl(this);
|
private PayScoreService payScoreService = new PayScoreServiceImpl(this);
|
||||||
private EcommerceService ecommerceService = new EcommerceServiceImpl(this);
|
private EcommerceService ecommerceService = new EcommerceServiceImpl(this);
|
||||||
|
private MerchantMediaService merchantMediaService =new MerchantMediaServiceImpl(this);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Config.
|
* The Config.
|
||||||
@ -95,6 +96,11 @@ public abstract class BaseWxPayServiceImpl implements WxPayService {
|
|||||||
return ecommerceService;
|
return ecommerceService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MerchantMediaService getMerchantMediaService() {
|
||||||
|
return merchantMediaService;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setEntPayService(EntPayService entPayService) {
|
public void setEntPayService(EntPayService entPayService) {
|
||||||
this.entPayService = entPayService;
|
this.entPayService = entPayService;
|
||||||
|
Loading…
Reference in New Issue
Block a user