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