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
+3 -1
View File
@@ -60,6 +60,8 @@ export interface Leader {
leaderAddress: string
leaderName?: string
category?: string
remark?: string // Leader 备注(可选)
website?: string // Leader 网站(可选)
copyTradingCount: number
totalOrders?: number
totalPnl?: string
@@ -772,7 +774,7 @@ export interface SystemConfig {
builderApiKeyConfigured: boolean
builderSecretConfigured: boolean
builderPassphraseConfigured: boolean
autoRedeem: boolean // 自动赎回(系统级别配置,默认开启)
autoRedeemEnabled: boolean // 自动赎回(系统级别配置,默认开启)
}
/**