210 lines
4.3 KiB
TypeScript
210 lines
4.3 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: 'deposit',
|
|
path: '/deposit',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'deposit',
|
|
i18nKey: 'route.deposit',
|
|
order: 2
|
|
},
|
|
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: '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: 'user',
|
|
path: '/user',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'user',
|
|
i18nKey: 'route.user',
|
|
order: 2
|
|
},
|
|
children: [
|
|
{
|
|
name: 'user_bank',
|
|
path: '/user/bank',
|
|
component: 'view.user_bank',
|
|
meta: {
|
|
title: 'user_bank',
|
|
i18nKey: 'route.user_bank'
|
|
}
|
|
},
|
|
{
|
|
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: 'user_transfer',
|
|
path: '/user/transfer',
|
|
component: 'view.user_transfer',
|
|
meta: {
|
|
title: 'user_transfer',
|
|
i18nKey: 'route.user_transfer'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'withdraw',
|
|
path: '/withdraw',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'withdraw',
|
|
i18nKey: 'route.withdraw',
|
|
order: 3
|
|
},
|
|
children: [
|
|
{
|
|
name: 'withdraw_fiat',
|
|
path: '/withdraw/fiat',
|
|
component: 'view.withdraw_fiat',
|
|
meta: {
|
|
title: 'withdraw_fiat',
|
|
i18nKey: 'route.withdraw_fiat',
|
|
order: 1
|
|
},
|
|
},
|
|
{
|
|
name: 'withdraw_approved',
|
|
path: '/withdraw/approved',
|
|
component: 'view.withdraw_approved',
|
|
meta: {
|
|
title: 'withdraw_approved',
|
|
i18nKey: 'route.withdraw_approved',
|
|
order: 2
|
|
},
|
|
},
|
|
]
|
|
}
|
|
];
|