IThAppAuthAppService.cs 732 Bytes
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>
    /// 登录:校验租户存在后,在租户业务库验证账号并签发 Token(Claim 含 TenantId)
    /// </summary>
    Task<ThAppLoginOutputDto> LoginAsync(ThAppLoginInputVo input);

    /// <summary>
    /// 当前用户在租户库下的绑定门店
    /// </summary>
    Task<List<UsAppBoundLocationDto>> GetMyLocationsAsync();
}