fix: 权限固定为全局

This commit is contained in:
2025-12-27 16:34:03 +08:00
parent dd58cc2ed0
commit bc09d9ca2e
9 changed files with 76 additions and 50 deletions

View File

@@ -15,7 +15,7 @@ public sealed class PermissionDto
public long Id { get; init; }
/// <summary>
/// 租户 ID。
/// 租户 ID(固定权限时为基准租户)
/// </summary>
[JsonConverter(typeof(SnowflakeIdJsonConverter))]
public long TenantId { get; init; }
@@ -42,7 +42,7 @@ public sealed class PermissionDto
public string Name { get; init; } = string.Empty;
/// <summary>
/// 权限编码(租户内唯一)。
/// 权限编码(全局唯一)。
/// </summary>
public string Code { get; init; } = string.Empty;