Blame view

泰额版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling/FoodLabeling.Th.Application.Contracts/IServices/IThMultiTenancyAppService.cs 661 Bytes
a1a0369d   李曜臣   5-25代码优化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  using FoodLabeling.Th.Application.Contracts.Dtos.MultiTenancy;
  using Volo.Abp.Application.Services;
  
  namespace FoodLabeling.Th.Application.Contracts.IServices;
  
  /// <summary>
  /// 泰额版多租户辅助接口(租户列表、当前租户信息)
  /// </summary>
  public interface IThMultiTenancyAppService : IApplicationService
  {
      /// <summary>
      /// 获取可选租户列表(平台管理员创建租户后供登录选择)
      /// </summary>
      Task<List<ThTenantSelectDto>> GetTenantSelectAsync();
  
      /// <summary>
      /// 获取当前请求上下文解析到的租户 Id
      /// </summary>
      Task<ThCurrentTenantDto> GetCurrentTenantAsync();
  }