feat: 收口多品牌与模板构建基础
This commit is contained in:
1 parent
0425a1c672
commit
77224ea51f
317 files changed
+11290
-1158
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# 视觉模板兼容性约束
|
||||
|
||||
## 目标
|
||||
|
||||
让视觉模板对行业模板的适配关系成为显式声明,并在目录、组合预览和实际切换时统一校验。
|
||||
|
||||
## 决策
|
||||
|
||||
- `linjing-editorial` 适配 `personal`、`doors`,不作为餐饮视觉模板。
|
||||
- `minimal-neutral` 适配 `personal`、`food`、`doors`。
|
||||
- 兼容性由视觉模板 manifest 声明,不能在 Controller 中写行业分支。
|
||||
- API 拒绝不兼容组合;后台只展示当前行业可用视觉模板。
|
||||
|
||||
## 验收
|
||||
|
||||
- 视觉目录返回兼容行业列表。
|
||||
- 不兼容的组合预览和切换返回明确 `400`。
|
||||
- 兼容模板切换行为保持不变。
|
||||
- API integration、Admin build、format、typecheck 通过。
|
||||
Reference in new issue
Block a user