feat(spec): add FeishuUserId to FeishuProfile

飞书 user_id 是租户内身份,换应用不变;open_id 是应用内身份,换应用即变。
两者都存:user_id 更稳定,open_id 是 API 调用句柄。
This commit is contained in:
2026-07-12 09:26:13 +08:00
parent 678bc9f56c
commit e17e038232
2 changed files with 7 additions and 3 deletions
+2
View File
@@ -19,6 +19,8 @@ structure Identifiers where
UserId : Type
/-- 飞书用户 open_id(`OPEN` 表示;单应用作用域内唯一)。 -/
FeishuOpenId : Type
/-- 飞书 user_id(`OPEN` 表示;租户内唯一,换 app 不变)。 -/
FeishuUserId : Type
/-- 组织飞书应用连接标识(`OPEN` 表示;org-scoped)。 -/
FeishuConnectionId : Type
/-- Hub teacher team 标识(`OPEN` 表示;ADR-0020 org-scoped team)。 -/