Procházet zdrojové kódy

更新信息工程学院站点徽标和名称

将华夏部门模板对应预览站的徽标替换为信息工程学院 Logo,并把网站名称、SEO 标题、关键词和描述统一为信息工程学院。同步更新本地初始化修复脚本并新增可重复执行的增量迁移。

Validation:\n- Logo 静态资源返回 HTTP 200,源文件与运行副本哈希一致\n- 数据库站点名称、SEO 标题和 Logo 路径已更新\n- Playwright 核验桌面端与移动端 Logo 加载成功,网站名称和页面标题均为“信息工程学院”\n- 页面无资源加载失败或前端运行错误
非繁 před 1 měsícem
rodič
revize
d57d9e9e0a

binární
WebRoot/web/upload/modules/sys/upload/files/2026/10/19/xinxi-gongcheng-college-logo-20261019.png


+ 10 - 0
local-run/migrations/2026-10-19-002-huaxia-dept-site-logo-and-name.sql

@@ -0,0 +1,10 @@
+-- 更新华夏部门模板预览站的徽标和网站名称。
+
+UPDATE website
+SET name = '信息工程学院',
+    `desc` = '信息工程学院部门网站。',
+    logo = '/web/upload/modules/sys/upload/files/2026/10/19/xinxi-gongcheng-college-logo-20261019.png',
+    seo_title = '信息工程学院',
+    seo_keywords = '信息工程学院,部门网站',
+    seo_description = '信息工程学院部门网站。'
+WHERE id_code = 'local_ffkj_dept_red_huaxia_site';

+ 10 - 10
local-run/repairs/2026-10-14-huaxia-dept-template.sql

@@ -42,13 +42,13 @@ INSERT INTO website (
 )
 SELECT
   61, nw.unitid, nw.wtcode, @dept_template_id, @school_website_id,
-  '华夏部门模版预览站', '华夏部门模版本地预览站点。', 'http', 4188,
+  '信息工程学院', '信息工程学院部门网站。', 'http', 4188,
   @dept_site_domain, nw.catalog_uri,
-  '/web/upload/modules/sys/upload/files/2024/7/16/Kzror25Cd10rIXiIK7ludnt68Z.png',
+  '/web/upload/modules/sys/upload/files/2026/10/19/xinxi-gongcheng-college-logo-20261019.png',
   '#9b1a30',
   '/web/upload/modules/sys/upload/files/2024/7/16/0KWoWaJHeOkCGhJN8pZVDNoC26.png',
-  '广州华夏职业学院信息工程学院', '广州华夏职业学院,信息工程学院,部门网站',
-  '广州华夏职业学院信息工程学院本地部门网站模板预览。', NOW(), 10000, @dept_site_id_code
+  '信息工程学院', '信息工程学院,部门网站',
+  '信息工程学院部门网站。', NOW(), 10000, @dept_site_id_code
 FROM website nw
 WHERE nw.id_code = 'local_ffkj_news_red_site'
   AND NOT EXISTS (SELECT 1 FROM website WHERE id_code = @dept_site_id_code);
@@ -60,18 +60,18 @@ SET dw.dcode = 61,
     dw.wtcode = nw.wtcode,
     dw.wtid = @dept_template_id,
     dw.parent_wid = @school_website_id,
-    dw.name = '华夏部门模版预览站',
-    dw.`desc` = '华夏部门模版本地预览站点。',
+    dw.name = '信息工程学院',
+    dw.`desc` = '信息工程学院部门网站。',
     dw.protocol = 'http',
     dw.port = 4188,
     dw.domains = @dept_site_domain,
     dw.catalog_uri = nw.catalog_uri,
-    dw.logo = '/web/upload/modules/sys/upload/files/2024/7/16/Kzror25Cd10rIXiIK7ludnt68Z.png',
+    dw.logo = '/web/upload/modules/sys/upload/files/2026/10/19/xinxi-gongcheng-college-logo-20261019.png',
     dw.white_logo_file = '#9b1a30',
     dw.seo_icon = '/web/upload/modules/sys/upload/files/2024/7/16/0KWoWaJHeOkCGhJN8pZVDNoC26.png',
-    dw.seo_title = '广州华夏职业学院信息工程学院',
-    dw.seo_keywords = '广州华夏职业学院,信息工程学院,部门网站',
-    dw.seo_description = '广州华夏职业学院信息工程学院本地部门网站模板预览。'
+    dw.seo_title = '信息工程学院',
+    dw.seo_keywords = '信息工程学院,部门网站',
+    dw.seo_description = '信息工程学院部门网站。'
 WHERE dw.id_code = @dept_site_id_code;
 
 SET @dept_site_id := (SELECT websiteid FROM website WHERE id_code = @dept_site_id_code ORDER BY websiteid LIMIT 1);