fix: expose referral code operations in admin
This commit is contained in:
@@ -36,6 +36,10 @@ function createRouteMeta(page) {
|
||||
meta.canonicalDomain = page.canonicalDomain
|
||||
}
|
||||
|
||||
if (page.nativeAdminPath) {
|
||||
meta.nativeAdminPath = page.nativeAdminPath
|
||||
}
|
||||
|
||||
if (page.section) {
|
||||
meta.section = page.section
|
||||
}
|
||||
@@ -80,7 +84,6 @@ 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' },
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user