fix: 收口模板契约与安全门禁
统一模板包 visual 契约并补齐完成证据;修复 release 版本一致性、管理员 token 撤销、CORS 与默认品牌配置;收敛依赖安全风险并完成全量回归验证。
This commit is contained in:
1 parent
456171aa85
commit
4f0b50c7f1
84 files changed
+7367
-5180
No files matched your search
+34
-3
@@ -3,6 +3,25 @@
|
||||
"version": "0.1.0",
|
||||
"displayName": "咨询师演练模板",
|
||||
"visualTemplateKey": "drill-consultant",
|
||||
"visualPresentation": {
|
||||
"description": "用于编译器测试的咨询师视觉演练。",
|
||||
"variants": {
|
||||
"hero": "consulting",
|
||||
"offeringList": "service-list",
|
||||
"detail": "case"
|
||||
},
|
||||
"theme": {
|
||||
"colors": {
|
||||
"background": "#f7f7f4",
|
||||
"foreground": "#202020",
|
||||
"accent": "#2f5d62",
|
||||
"dark": "#17252a"
|
||||
},
|
||||
"radius": {
|
||||
"card": "16rpx"
|
||||
}
|
||||
}
|
||||
},
|
||||
"defaultBrandSlug": "drill-consultant",
|
||||
"runtimeContract": "1.0",
|
||||
"supportedIndustryTemplates": ["consulting"],
|
||||
@@ -16,9 +35,21 @@
|
||||
"profile": "pages/profile/index"
|
||||
},
|
||||
"navigation": [
|
||||
{ "key": "home", "label": "首页", "page": "home" },
|
||||
{ "key": "offerings", "label": "服务", "page": "offerings" },
|
||||
{ "key": "profile", "label": "关于我", "page": "profile" }
|
||||
{
|
||||
"key": "home",
|
||||
"label": "首页",
|
||||
"page": "home"
|
||||
},
|
||||
{
|
||||
"key": "offerings",
|
||||
"label": "服务",
|
||||
"page": "offerings"
|
||||
},
|
||||
{
|
||||
"key": "profile",
|
||||
"label": "关于我",
|
||||
"page": "profile"
|
||||
}
|
||||
],
|
||||
"requiredCapabilities": ["offerings", "inquiry"],
|
||||
"pages": ["pages/index/index", "pages/services/index", "pages/profile/index"],
|
||||
|
||||
Reference in new issue
Block a user