- 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.
25 lines
681 B
JavaScript
25 lines
681 B
JavaScript
/**
|
|
* Payment & Paid domain schemas.
|
|
*/
|
|
|
|
import { rechargeSchema } from './recharge.js'
|
|
import { vipSchema } from './vip.js'
|
|
import { revenueSchema } from './revenue.js'
|
|
import { affiliateSchema } from './affiliate.js'
|
|
import { gatewaySchema } from './gateway.js'
|
|
import { orderSchema } from './order.js'
|
|
import { cardPassSchema } from './cardPass.js'
|
|
import { withdrawalSchema } from './withdrawal.js'
|
|
|
|
export const paymentSchemas = {
|
|
recharge: rechargeSchema,
|
|
vip: vipSchema,
|
|
revenue: revenueSchema,
|
|
affiliate: affiliateSchema,
|
|
gateway: gatewaySchema,
|
|
order: orderSchema,
|
|
'card-pass': cardPassSchema,
|
|
cardPass: cardPassSchema,
|
|
withdrawal: withdrawalSchema,
|
|
}
|