All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.binarywang.spring.starter.wxjava.channel.service.WxChannelMultiServices Maven / Gradle / Ivy

package com.binarywang.spring.starter.wxjava.channel.service;

import me.chanjar.weixin.channel.api.WxChannelService;

/**
 * 视频号 {@link WxChannelService} 所有实例存放类.
 *
 * @author Winnie
 * @date 2024/9/13
 */
public interface WxChannelMultiServices {
  /**
   * 通过租户 Id 获取 WxChannelService
   *
   * @param tenantId 租户 Id
   * @return WxChannelService
   */
  WxChannelService getWxChannelService(String tenantId);

  /**
   * 根据租户 Id,从列表中移除一个 WxChannelService 实例
   *
   * @param tenantId 租户 Id
   */
  void removeWxChannelService(String tenantId);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy