feat(W4): 院系子站嵌套路径-cms_site.path列+uk_site_path/parent_code,门户单段+嵌套双映射,旧链301,public_base_url派生,sitePath预览,SQL三处+升级脚本,T-W4-01..15 全绿279/279
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
-- ============================================================
|
||||
|
||||
-- 1. 站点(config_json 五键与 day3-seed.cjs 一致;logo 相对路径)
|
||||
INSERT INTO cms_site (id, code, parent_site_id, sch_id, sch_name, name, theme, config_json, status, create_by, create_time) VALUES
|
||||
(1, 'demo', 0, 990001, '云海大学', '云海大学门户网站', 'default',
|
||||
INSERT INTO cms_site (id, code, path, parent_site_id, sch_id, sch_name, name, theme, config_json, status, create_by, create_time) VALUES
|
||||
(1, 'demo', 'demo', 0, 990001, '云海大学', '云海大学门户网站', 'default',
|
||||
'{"logo": "/cms/upload/seed/logo-univ.svg", "contact": "地址:云海市学府路 1 号 · 电话:010-88888888", "copyright": "云海大学 版权所有 © 2026(演示数据)", "beian": "京ICP备00000000号-1 · 京公网安备110000000000号", "seo_description": "云海大学门户网站演示站点(day3 验收演示数据)"}',
|
||||
1, 'cmssuper', NOW());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user