feat(admin): 添加网络代理配置和钱包交易功能

- 在管理面板中集成网络代理配置显示和平台代理设置
- 添加钱包摘要和交易列表API接口及数据管理
- 实现SSE流式响应中的错误处理机制
- 添加全局HTTP代理环境变量配置支持
- 更新平台表单以支持代理模式选择和自定义代理地址
- 集成钱包交易查询过滤和分页功能
- 优化API错误详情解析和显示格式
This commit is contained in:
2026-05-11 23:02:10 +08:00
parent c992f1de60
commit f550c0acd5
30 changed files with 1455 additions and 76 deletions
+8
View File
@@ -1115,6 +1115,14 @@
font-weight: var(--font-weight-semibold);
}
.platformProxyStatus {
margin: 10px 0 0;
color: var(--text-normal);
font-size: 0.8125rem;
font-weight: var(--font-weight-semibold);
word-break: break-all;
}
.platformCredentialField {
gap: 6px;
}
+26
View File
@@ -811,11 +811,25 @@
}
.assistantBubble.error {
display: grid;
gap: 4px;
border-color: #f0d4d4;
background: #fff7f7;
color: #9f2f2f;
}
.assistantBubble.error strong {
color: #7f1d1d;
font-size: var(--font-size-sm);
font-weight: var(--font-weight-semibold);
}
.assistantErrorMessage {
color: #9f2f2f;
line-height: var(--line-height-relaxed);
overflow-wrap: anywhere;
}
.assistantTyping {
color: var(--muted-foreground);
}
@@ -1423,6 +1437,8 @@
}
.mediaTaskError {
display: grid;
gap: 4px;
width: fit-content;
max-width: 100%;
padding: 8px 10px;
@@ -1431,6 +1447,16 @@
background: #fef2f2;
color: #991b1b;
font-size: var(--font-size-sm);
line-height: var(--line-height-relaxed);
}
.mediaTaskError strong {
color: #7f1d1d;
font-weight: var(--font-weight-semibold);
}
.mediaTaskError span {
overflow-wrap: anywhere;
}
.mediaTaskActions {