refactor(settings): remove filing info config and readers

Drop the 备案信息 group (icp_filing, police_filing, footer_text) from the
global.common PHP/Vue schemas, the FacadeBulk readers and the
get_global_settings() payload. No frontend consumer existed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
kate522andClaude Fable 5 committed 2026-10-28 18:36:27 +08:00
1 parent 32172582ff
commit 6da08d9d4f
5 files changed
+2 -63

No files matched your search

@@ -12,7 +12,7 @@ export const globalSection = {
label: '常用功能',
route: '/global/common',
title: '常用功能',
desc: '评论、性能、头像源与备案等全局基础配置。',
desc: '评论、性能、头像源等全局基础配置。',
canonicalDomain: 'global',
section: 'common',
}),
@@ -7,7 +7,7 @@ export const commonSchema = {
key: 'global.common',
title: '常用功能',
icon: 'fa fas fa-cog',
description: '管理站点常用开关、懒加载与备案信息等基础配置。',
description: '管理站点图像懒加载等常用基础配置。',
defaults: {
lazy_posts_thumb: true,
lazy_avatar: true,
@@ -18,9 +18,6 @@ export const commonSchema = {
lazy_other: true,
lazy_animation: 'blur',
thumbnail: defaultThumbnail,
icp_filing: '',
police_filing: '',
footer_text: '',
},
groups: [
{
@@ -56,15 +53,5 @@ export const commonSchema = {
{ key: 'lazy_other', label: '其它图片懒加载', type: 'switch', default: true },
],
},
{
key: 'filing',
title: '备案信息',
icon: 'fa fas fa-shield-alt',
fields: [
{ key: 'icp_filing', label: 'ICP 备案号', type: 'input', placeholder: '例如:京ICP备12345678号', help: '显示在页脚的备案信息' },
{ key: 'police_filing', label: '公安备案号', type: 'input', placeholder: '例如:公网安备11000000000000号', help: '显示在页脚的备案信息' },
{ key: 'footer_text', label: '页脚附加文字', type: 'input', placeholder: '自定义页脚文字', help: '显示在版权信息下方' },
],
},
],
}