Blame view

泰额版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling/FoodLabeling.Th.Application.Contracts/IServices/IThAppAuthAppService.cs 732 Bytes
a1a0369d   李曜臣   5-25代码优化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  using FoodLabeling.Application.Contracts.Dtos.UsAppAuth;
  using FoodLabeling.Th.Application.Contracts.Dtos.Auth;
  using Volo.Abp.Application.Services;
  
  namespace FoodLabeling.Th.Application.Contracts.IServices;
  
  /// <summary>
  /// 泰额版 App 认证(多租户独立库 + JWT TenantId
  /// </summary>
  public interface IThAppAuthAppService : IApplicationService
  {
      /// <summary>
      /// 登录:校验租户存在后,在租户业务库验证账号并签发 TokenClaim  TenantId
      /// </summary>
      Task<ThAppLoginOutputDto> LoginAsync(ThAppLoginInputVo input);
  
      /// <summary>
      /// 当前用户在租户库下的绑定门店
      /// </summary>
      Task<List<UsAppBoundLocationDto>> GetMyLocationsAsync();
  }