chore: 提交当前变更
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
namespace TakeoutSaaS.Shared.Abstractions.Tenancy;
|
||||
|
||||
/// <summary>
|
||||
/// 租户提供者接口:用于获取当前请求的租户标识。
|
||||
/// 租户提供者:用于在各层读取当前请求绑定的租户 ID。
|
||||
/// </summary>
|
||||
public interface ITenantProvider
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取当前请求的租户 ID。
|
||||
/// 获取当前租户 ID,未解析时返回 Guid.Empty。
|
||||
/// </summary>
|
||||
/// <returns>租户 ID,如果未设置则返回 Guid.Empty</returns>
|
||||
Guid GetCurrentTenantId();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user