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