forked from bai/curriculum-project-hub
feat(spec): add FeishuUserId to FeishuProfile
飞书 user_id 是租户内身份,换应用不变;open_id 是应用内身份,换应用即变。 两者都存:user_id 更稳定,open_id 是 API 调用句柄。
This commit is contained in:
@@ -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)。 -/
|
||||
|
||||
Reference in New Issue
Block a user