
com.binarywang.spring.starter.wxjava.mp.service.WxMpMultiServices Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wx-java-mp-multi-spring-boot-starter Show documentation
Show all versions of wx-java-mp-multi-spring-boot-starter Show documentation
微信公众号开发的 Spring Boot Starter::支持多账号配置
The newest version!
package com.binarywang.spring.starter.wxjava.mp.service;
import me.chanjar.weixin.mp.api.WxMpService;
/**
* 企业微信 {@link WxMpService} 所有实例存放类.
*
* @author yl
* created on 2024/1/23
*/
public interface WxMpMultiServices {
/**
* 通过租户 Id 获取 WxMpService
*
* @param tenantId 租户 Id
* @return WxMpService
*/
WxMpService getWxMpService(String tenantId);
/**
* 根据租户 Id,从列表中移除一个 WxMpService 实例
*
* @param tenantId 租户 Id
*/
void removeWxMpService(String tenantId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy