fix: register referral operations for administrators

This commit is contained in:
kate522 committed 2026-08-17 14:08:32 +08:00
1 parent 9d4ce5d036
commit 566d39c3ae
5 files changed
+11 -28

No files matched your search

+1 -4
View File
@@ -36,10 +36,6 @@ function createRouteMeta(page) {
meta.canonicalDomain = page.canonicalDomain
}
if (page.nativeAdminPath) {
meta.nativeAdminPath = page.nativeAdminPath
}
if (page.section) {
meta.section = page.section
}
@@ -84,6 +80,7 @@ const NATIVE_OPS_REDIRECTS = [
{ path: '/payment/income', title: '创作分成运营', nativeAdminPath: 'admin.php?page=aksrt_income' },
{ path: '/payment/rebate', title: '返佣管理', nativeAdminPath: 'admin.php?page=aksrt_rebate' },
{ path: '/users/messages', title: '消息中心', nativeAdminPath: 'users.php?page=aksrt_messages' },
{ path: '/users/referral-codes', title: '推广码运营', nativeAdminPath: 'users.php?page=aksrt_referral_codes' },
{ path: '/users/ban', title: '禁封管理', nativeAdminPath: 'users.php?page=aksrt_user_ban&tab=restrictions' },
{ path: '/users/report', title: '禁封/举报', nativeAdminPath: 'users.php?page=aksrt_user_ban&tab=reports' },
]