refactor(admin): clean up audit/permission/paid content config
- P1: remove the duplicate "审核联动" (ai_moderate_background/submit) block from the attachment permissions page; those settings live in the "评论审核" / API content audit surfaces. - P2: rename the "内容审核" submenu to "评论审核" (permissions domain). - P4: remove the "下载/付费内容中心" page and its schema/route chain; hardcode runtime policy so download always supports credit purchase and paid content is limited to posts. Drop the now-dead cms_features.download_credit flag and parse_slug_list helper.
This commit is contained in:
1 parent
2f4ce790a7
commit
b4a4b295bc
16 files changed
+33
-461
No files matched your search
@@ -15,7 +15,7 @@ const SECTION_DEFAULT_CHILDREN = {
|
||||
'post-list': 'post-list-page',
|
||||
permissions: 'permissions-comment',
|
||||
users: 'users-auth',
|
||||
payment: 'payment-paid',
|
||||
payment: 'payment-recharge',
|
||||
extensions: 'extensions-ip',
|
||||
tools: 'tools-import-export',
|
||||
'theme-info': 'theme-info-dashboard',
|
||||
|
||||
@@ -6,15 +6,6 @@ export const paymentSection = {
|
||||
icon: renderFaIcon('fas fa-wallet'),
|
||||
route: '/payment',
|
||||
children: [
|
||||
customPage({
|
||||
key: 'payment-paid',
|
||||
name: 'PaymentPaid',
|
||||
label: '下载/付费内容中心',
|
||||
route: '/payment/paid',
|
||||
title: '下载/付费内容中心',
|
||||
desc: '资源下载门槛、付费内容策略和人工交付说明。',
|
||||
component: 'ResourceDownload',
|
||||
}),
|
||||
schemaPage({
|
||||
key: 'payment-recharge',
|
||||
name: 'PaymentRecharge',
|
||||
|
||||
@@ -30,9 +30,9 @@ export const permissionsSection = {
|
||||
schemaPage({
|
||||
key: 'permissions-moderation',
|
||||
name: 'PermissionsModeration',
|
||||
label: '内容审核',
|
||||
label: '评论审核',
|
||||
route: '/permissions/moderation',
|
||||
title: '内容审核',
|
||||
title: '评论审核',
|
||||
desc: '评论审核、反垃圾、限流与风控配置。',
|
||||
canonicalDomain: 'permissions',
|
||||
section: 'moderation',
|
||||
|
||||
Reference in new issue
Block a user