feat: 全局代理支持连通性测试与出口 IP 显示

This commit is contained in:
shinypolaris committed 2026-10-27 00:01:23 +08:00
1 parent e740334b90
commit 5feddf296d
6 files changed
+967 -5

No files matched your search

+5
View File
@@ -33,6 +33,7 @@ import type {
DeleteTaskOptions,
DeleteTaskResult,
Edge,
EgressReport,
EvidenceBodyPreview,
ExplorationNodePage,
ExplorationNodeQuery,
@@ -952,6 +953,10 @@ export const api = {
tavily_search_api_key?: string;
}) => post<{ ok: boolean; error?: string; count?: number; backend?: string }>(`/settings/web-search/test`, patch),
// global_proxy 传空 = 测直连;probe_url 可覆盖默认探测地址(隔离网用)。
testEgressProxy: (patch: { global_proxy?: string; probe_url?: string }) =>
post<EgressReport>(`/settings/proxy/test`, patch),
// ---- 漏洞 IM 推送 ----
// 渠道是多实例资源(同一类型可配多个机器人、各有过滤规则),因此独立成组,
// 不塞进扁平的 settings 键值里。