eight
2024-08-06 f06d7fd046d32f74caf259f3ddbda0bcaf7de799
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package cn.lihu.jh.framework.tenant.core.service;
 
import java.util.List;
 
/**
 * Tenant 框架 Service 接口,定义获取租户信息
 *
 * @author 芋道源码
 */
public interface TenantFrameworkService {
 
    /**
     * 获得所有租户
     *
     * @return 租户编号数组
     */
    List<Long> getTenantIds();
 
    /**
     * 校验租户是否合法
     *
     * @param id 租户编号
     */
    void validTenant(Long id);
 
}