Add MindSpace canonical URL facade
This commit is contained in:
@@ -93,6 +93,7 @@ validatePublicBackingObject({ publicationId })
|
||||
规则:
|
||||
|
||||
- 新代码不得直接拼 `/MindSpace/<userId>/...`。
|
||||
- 当前分支新增的 `mindspace-canonical-url.mjs` 是 P1 facade 起点;后续旧 helper 迁移到它后,再接入 backing object 校验。
|
||||
- 旧 URL helper 暂时保留为 compatibility layer。
|
||||
- public URL 必须能反查到 publication 或 asset。
|
||||
- URL 返回前应校验 backing object 存在,或明确返回 pending 状态。
|
||||
|
||||
Reference in New Issue
Block a user