fix: 修复未匹配订单更新逻辑和前端API类型定义

- 修复 PositionCheckService 中未匹配订单更新逻辑,当仓位数量大于等于订单数量总和时也能正确处理
- 修复前端 API 类型定义,添加 remark 和 website 字段支持
- 添加 Leader 备注和网站字段支持
This commit is contained in:
WrBug
2025-12-07 05:07:58 +08:00
parent cb167d442f
commit 5c136ab0f4
22 changed files with 1639 additions and 939 deletions
+4 -27
View File
@@ -17,10 +17,7 @@ import {
SettingOutlined,
GithubOutlined,
TwitterOutlined,
GlobalOutlined,
CheckCircleOutlined,
NotificationOutlined,
KeyOutlined
CheckCircleOutlined
} from '@ant-design/icons'
import type { MenuProps } from 'antd'
import type { ReactNode } from 'react'
@@ -120,37 +117,17 @@ const Layout: React.FC<LayoutProps> = ({ children }) => {
{
key: '/system-settings',
icon: <SettingOutlined />,
label: t('menu.systemSettings'),
label: t('menu.systemSettings') || '系统管理',
children: [
{
key: '/system-settings',
icon: <SettingOutlined />,
label: t('menu.systemOverview') || '概览'
},
{
key: '/system-settings/language',
icon: <GlobalOutlined />,
label: t('menu.language')
label: t('menu.systemOverview') || '通用设置'
},
{
key: '/system-settings/api-health',
icon: <CheckCircleOutlined />,
label: t('menu.apiHealth')
},
{
key: '/system-settings/proxy',
icon: <LinkOutlined />,
label: t('menu.proxy')
},
{
key: '/system-settings/builder-api-key',
icon: <KeyOutlined />,
label: t('menu.builderApiKey') || 'Builder API Key'
},
{
key: '/system-settings/notifications',
icon: <NotificationOutlined />,
label: t('menu.notifications')
label: t('menu.apiHealth') || 'API健康'
}
]
},