feat(admin): 添加网络代理配置和钱包交易功能
- 在管理面板中集成网络代理配置显示和平台代理设置 - 添加钱包摘要和交易列表API接口及数据管理 - 实现SSE流式响应中的错误处理机制 - 添加全局HTTP代理环境变量配置支持 - 更新平台表单以支持代理模式选择和自定义代理地址 - 集成钱包交易查询过滤和分页功能 - 优化API错误详情解析和显示格式
This commit is contained in:
@@ -497,6 +497,7 @@ export interface GatewayWalletAccount {
|
||||
export interface GatewayWalletTransaction {
|
||||
id: string;
|
||||
accountId: string;
|
||||
currency?: 'resource' | 'credit' | 'cny' | 'usd' | string;
|
||||
gatewayTenantId?: string;
|
||||
gatewayUserId?: string;
|
||||
direction: 'credit' | 'debit' | 'freeze' | 'unfreeze' | string;
|
||||
@@ -519,6 +520,11 @@ export interface WalletBalanceAdjustmentRequest {
|
||||
metadata?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export interface WalletSummaryResponse {
|
||||
accounts: GatewayWalletAccount[];
|
||||
primaryAccount: GatewayWalletAccount;
|
||||
}
|
||||
|
||||
export interface WalletAdjustmentResponse {
|
||||
account: GatewayWalletAccount;
|
||||
before: GatewayWalletAccount;
|
||||
@@ -716,6 +722,12 @@ export interface RateLimitWindow {
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export interface GatewayNetworkProxyConfig {
|
||||
globalHttpProxy?: string;
|
||||
globalHttpProxySet: boolean;
|
||||
globalHttpProxySource?: string;
|
||||
}
|
||||
|
||||
export interface GatewayTask {
|
||||
id: string;
|
||||
kind: string;
|
||||
|
||||
Reference in New Issue
Block a user