Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@ public interface WxPayService {
*/
EcommerceService getEcommerceService();

/**
* 微信支付通用媒体服务类
* @return
*/
MerchantMediaService getMerchantMediaService();

/**
* 设置企业付款服务类,允许开发者自定义实现类.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public abstract class BaseWxPayServiceImpl implements WxPayService {
private RedpackService redpackService = new RedpackServiceImpl(this);
private PayScoreService payScoreService = new PayScoreServiceImpl(this);
private EcommerceService ecommerceService = new EcommerceServiceImpl(this);
private MerchantMediaService merchantMediaService =new MerchantMediaServiceImpl(this);

/**
* The Config.
Expand Down Expand Up @@ -95,6 +96,11 @@ public EcommerceService getEcommerceService() {
return ecommerceService;
}

@Override
public MerchantMediaService getMerchantMediaService() {
return merchantMediaService;
}

@Override
public void setEntPayService(EntPayService entPayService) {
this.entPayService = entPayService;
Expand Down