feat: 开发持仓、股票信息相关接口
This commit is contained in:
@@ -6,6 +6,8 @@ import {
|
||||
DashboardOutlined,
|
||||
BankOutlined,
|
||||
UserOutlined,
|
||||
StockOutlined,
|
||||
LineChartOutlined,
|
||||
} from '@ant-design/icons';
|
||||
import type { ReactNode } from 'react';
|
||||
|
||||
@@ -62,6 +64,15 @@ export const routeMenuConfig: RouteMenuConfig[] = [
|
||||
subtitle: '回顾过去是为了更好应对将来',
|
||||
group: 'main',
|
||||
},
|
||||
{
|
||||
path: '/user-info',
|
||||
key: '/user-info',
|
||||
icon: <UserOutlined />,
|
||||
label: '个人资料',
|
||||
title: '个人资料',
|
||||
subtitle: '查看和编辑个人信息',
|
||||
group: 'main',
|
||||
},
|
||||
{
|
||||
path: '/user',
|
||||
key: '/user',
|
||||
@@ -82,6 +93,26 @@ export const routeMenuConfig: RouteMenuConfig[] = [
|
||||
group: 'admin',
|
||||
requireAdmin: true,
|
||||
},
|
||||
{
|
||||
path: '/stock-info',
|
||||
key: '/stock-info',
|
||||
icon: <StockOutlined />,
|
||||
label: '股票信息',
|
||||
title: '股票信息',
|
||||
subtitle: '管理股票基本信息',
|
||||
group: 'admin',
|
||||
requireAdmin: true,
|
||||
},
|
||||
{
|
||||
path: '/stock-daily-price',
|
||||
key: '/stock-daily-price',
|
||||
icon: <LineChartOutlined />,
|
||||
label: '股票价格',
|
||||
title: '股票价格',
|
||||
subtitle: '查看股票每日价格数据',
|
||||
group: 'admin',
|
||||
requireAdmin: true,
|
||||
},
|
||||
{
|
||||
path: '/seo',
|
||||
key: '/seo',
|
||||
|
||||
Reference in New Issue
Block a user