This commit is contained in:
@@ -4,6 +4,7 @@ import { BULK_PURCHASE_PERMISSIONS } from '@/config/constants/bulkPurchase'
|
||||
import { JULY_PERMISSIONS } from '@/config/constants/julyIteration'
|
||||
import { AUDIT_PERMISSIONS } from '@/config/constants/audit'
|
||||
import { AUGUST_PERMISSIONS } from '@/config/constants/augustIteration'
|
||||
import { GATEWAY_PERMISSIONS } from '@/config/constants/gateway'
|
||||
import { PAYMENT_MERCHANT_POOL_PERMISSIONS } from '@/config/constants/paymentMerchantPools'
|
||||
import {
|
||||
EXPORT_TASK_DETAIL_PAGE_PERMISSION,
|
||||
@@ -1347,6 +1348,57 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
keepAlive: true,
|
||||
permissions: [AUGUST_PERMISSIONS.pollingPriorityQueue.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'stop-resume-records',
|
||||
name: 'GatewayStopResumeRecords',
|
||||
component: RoutesAlias.GatewayStopResumeRecords,
|
||||
meta: {
|
||||
title: '停复机记录',
|
||||
keepAlive: true,
|
||||
permissions: [GATEWAY_PERMISSIONS.records.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'error-classifications',
|
||||
name: 'GatewayErrorClassifications',
|
||||
component: RoutesAlias.GatewayErrorClassifications,
|
||||
meta: {
|
||||
title: '上游错误分类',
|
||||
keepAlive: true,
|
||||
permissions: [GATEWAY_PERMISSIONS.rules.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'rate-limit-groups',
|
||||
name: 'GatewayRateLimitGroups',
|
||||
component: RoutesAlias.GatewayRateLimitGroups,
|
||||
meta: {
|
||||
title: '网关限流组',
|
||||
keepAlive: true,
|
||||
permissions: [GATEWAY_PERMISSIONS.groups.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'gateway-stats',
|
||||
name: 'GatewayCallStats',
|
||||
component: RoutesAlias.GatewayCallStats,
|
||||
meta: {
|
||||
title: '网关调用统计',
|
||||
keepAlive: true,
|
||||
permissions: [GATEWAY_PERMISSIONS.stats.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'rate-limit-groups/detail/:id',
|
||||
name: 'GatewayRateLimitGroupDetail',
|
||||
component: RoutesAlias.GatewayRateLimitGroupDetail,
|
||||
meta: {
|
||||
title: '网关限流组详情',
|
||||
isHide: true,
|
||||
keepAlive: false,
|
||||
permissions: [GATEWAY_PERMISSIONS.groups.detailPage]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -144,6 +144,11 @@ export enum RoutesAlias {
|
||||
ManualTrigger = '/polling-management/manual-trigger', // 手动触发
|
||||
PollingMonitor = '/polling-management/monitor', // 轮询监控
|
||||
PollingPriorityQueue = '/polling-management/priority-queue', // 优先队列
|
||||
GatewayStopResumeRecords = '/polling-management/stop-resume-records',
|
||||
GatewayErrorClassifications = '/polling-management/error-classifications',
|
||||
GatewayRateLimitGroups = '/polling-management/rate-limit-groups',
|
||||
GatewayRateLimitGroupDetail = '/polling-management/rate-limit-groups/detail',
|
||||
GatewayCallStats = '/polling-management/gateway-stats',
|
||||
|
||||
// 公共组件
|
||||
Success = '/result/success', // 成功
|
||||
|
||||
Reference in New Issue
Block a user