281 lines
5.7 KiB
TypeScript
281 lines
5.7 KiB
TypeScript
/* eslint-disable */
|
|
/* prettier-ignore */
|
|
// Generated by elegant-router
|
|
// Read more: https://github.com/soybeanjs/elegant-router
|
|
|
|
import type { GeneratedRoute } from '@elegant-router/types';
|
|
|
|
export const generatedRoutes: GeneratedRoute[] = [
|
|
{
|
|
name: '403',
|
|
path: '/403',
|
|
component: 'layout.blank$view.403',
|
|
meta: {
|
|
title: '403',
|
|
i18nKey: 'route.403',
|
|
constant: true,
|
|
hideInMenu: true
|
|
}
|
|
},
|
|
{
|
|
name: '404',
|
|
path: '/404',
|
|
component: 'layout.blank$view.404',
|
|
meta: {
|
|
title: '404',
|
|
i18nKey: 'route.404',
|
|
constant: true,
|
|
hideInMenu: true
|
|
}
|
|
},
|
|
{
|
|
name: '500',
|
|
path: '/500',
|
|
component: 'layout.blank$view.500',
|
|
meta: {
|
|
title: '500',
|
|
i18nKey: 'route.500',
|
|
constant: true,
|
|
hideInMenu: true
|
|
}
|
|
},
|
|
{
|
|
name: 'asset',
|
|
path: '/asset',
|
|
component: 'layout.base$view.asset',
|
|
meta: {
|
|
title: 'asset',
|
|
i18nKey: 'route.asset',
|
|
order: 2
|
|
}
|
|
},
|
|
{
|
|
name: 'bank',
|
|
path: '/bank',
|
|
component: 'layout.base$view.bank',
|
|
meta: {
|
|
title: 'bank',
|
|
i18nKey: 'route.bank',
|
|
order: 3
|
|
}
|
|
},
|
|
{
|
|
name: 'deposit',
|
|
path: '/deposit',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'deposit',
|
|
i18nKey: 'route.deposit',
|
|
order: 5
|
|
},
|
|
children: [
|
|
{
|
|
name: 'deposit_fiat',
|
|
path: '/deposit/fiat',
|
|
component: 'view.deposit_fiat',
|
|
meta: {
|
|
title: 'deposit_fiat',
|
|
i18nKey: 'route.deposit_fiat'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'home',
|
|
path: '/home',
|
|
component: 'layout.base$view.home',
|
|
meta: {
|
|
title: 'home',
|
|
i18nKey: 'route.home',
|
|
icon: 'mdi:monitor-dashboard',
|
|
order: 1
|
|
}
|
|
},
|
|
{
|
|
name: 'iframe-page',
|
|
path: '/iframe-page/:url',
|
|
component: 'layout.base$view.iframe-page',
|
|
props: true,
|
|
meta: {
|
|
title: 'iframe-page',
|
|
i18nKey: 'route.iframe-page',
|
|
constant: true,
|
|
hideInMenu: true,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'login',
|
|
path: '/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?',
|
|
component: 'layout.blank$view.login',
|
|
props: true,
|
|
meta: {
|
|
title: 'login',
|
|
i18nKey: 'route.login',
|
|
constant: true,
|
|
hideInMenu: true
|
|
}
|
|
},
|
|
{
|
|
name: 'news',
|
|
path: '/news',
|
|
component: 'layout.base$view.news',
|
|
meta: {
|
|
title: 'news',
|
|
i18nKey: 'route.news',
|
|
order: 8
|
|
}
|
|
},
|
|
{
|
|
name: 'notification',
|
|
path: '/notification',
|
|
component: 'layout.base$view.notification',
|
|
meta: {
|
|
title: 'notification',
|
|
i18nKey: 'route.notification',
|
|
order: 7
|
|
}
|
|
},
|
|
{
|
|
name: 'rwa',
|
|
path: '/rwa',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'rwa',
|
|
i18nKey: 'route.rwa',
|
|
order: 5
|
|
},
|
|
children: [
|
|
{
|
|
name: 'rwa_product',
|
|
path: '/rwa/product',
|
|
component: 'view.rwa_product',
|
|
meta: {
|
|
title: 'rwa_product',
|
|
i18nKey: 'route.rwa_product'
|
|
}
|
|
},
|
|
{
|
|
name: 'rwa_producttype',
|
|
path: '/rwa/producttype',
|
|
component: 'view.rwa_producttype',
|
|
meta: {
|
|
title: 'rwa_producttype',
|
|
i18nKey: 'route.rwa_producttype'
|
|
}
|
|
},
|
|
// {
|
|
// name: 'rwa_subscribe',
|
|
// path: '/rwa/subscribe',
|
|
// component: 'view.rwa_subscribe',
|
|
// meta: {
|
|
// title: 'rwa_subscribe',
|
|
// i18nKey: 'route.rwa_subscribe'
|
|
// }
|
|
// }
|
|
]
|
|
},
|
|
{
|
|
name: 'tokenization',
|
|
path: '/tokenization',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: '代币化管理',
|
|
i18nKey: 'route.tokenization',
|
|
order: 6
|
|
},
|
|
children: [
|
|
{
|
|
name: 'tokenization_product',
|
|
path: '/tokenization/product',
|
|
component: 'view.tokenization_product',
|
|
meta: {
|
|
title: '代币化产品',
|
|
i18nKey: 'route.tokenization_product'
|
|
}
|
|
},
|
|
{
|
|
name: 'tokenization_trading-pairs',
|
|
path: '/tokenization/trading-pairs',
|
|
component: 'view.tokenization_trading-pairs',
|
|
meta: {
|
|
title: 'tokenization_trading-pairs',
|
|
i18nKey: 'route.tokenization_trading-pairs'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'transfer',
|
|
path: '/transfer',
|
|
component: 'layout.base$view.transfer',
|
|
meta: {
|
|
title: 'transfer',
|
|
i18nKey: 'route.transfer',
|
|
order: 3
|
|
}
|
|
},
|
|
{
|
|
name: 'user',
|
|
path: '/user',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'user',
|
|
i18nKey: 'route.user',
|
|
order: 4
|
|
},
|
|
children: [
|
|
{
|
|
name: 'user_bankcard',
|
|
path: '/user/bankcard',
|
|
component: 'view.user_bankcard',
|
|
meta: {
|
|
title: 'user_bankcard',
|
|
i18nKey: 'route.user_bankcard'
|
|
}
|
|
},
|
|
{
|
|
name: 'user_list',
|
|
path: '/user/list',
|
|
component: 'view.user_list',
|
|
meta: {
|
|
title: 'user_list',
|
|
i18nKey: 'route.user_list'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'withdraw',
|
|
path: '/withdraw',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'withdraw',
|
|
i18nKey: 'route.withdraw',
|
|
order: 3
|
|
},
|
|
children: [
|
|
{
|
|
name: 'withdraw_approved',
|
|
path: '/withdraw/approved',
|
|
component: 'view.withdraw_approved',
|
|
meta: {
|
|
title: 'withdraw_approved',
|
|
i18nKey: 'route.withdraw_approved',
|
|
order: 2
|
|
}
|
|
},
|
|
{
|
|
name: 'withdraw_fiat',
|
|
path: '/withdraw/fiat',
|
|
component: 'view.withdraw_fiat',
|
|
meta: {
|
|
title: 'withdraw_fiat',
|
|
i18nKey: 'route.withdraw_fiat',
|
|
order: 1
|
|
}
|
|
}
|
|
]
|
|
}
|
|
];
|