取消mock
This commit is contained in:
1 parent
5301a4fe04
commit
7234874797
2 files changed
+2
-13
No files matched your search
@@ -558,17 +558,6 @@ export const assets: Asset[] = [
|
||||
status_code: 200,
|
||||
last_seen: T("2026-07-25T21:35:00Z"),
|
||||
},
|
||||
{
|
||||
id: 27,
|
||||
type: "subdomain",
|
||||
company_id: 1,
|
||||
task_ids: [1],
|
||||
domain: "very-long-admin-console.internal.acme.example.com",
|
||||
root_domain: "acme.example.com",
|
||||
record_type: "A",
|
||||
record_value: ["203.0.113.210"],
|
||||
last_seen: T("2026-07-26T03:59:00Z"),
|
||||
},
|
||||
];
|
||||
|
||||
export const assetCounts: Record<string, number> = assets.reduce<Record<string, number>>((m, a) => {
|
||||
|
||||
@@ -792,8 +792,8 @@ function route(m: string, path: string, seg: string[], q: URLSearchParams, b: Re
|
||||
let mappings: Array<{ intentID: string; assetID: number; summary: string }> = [];
|
||||
if (seg[1] === "t-acme-web") {
|
||||
mappings = [
|
||||
{ intentID: "i3", assetID: 27, summary: "后台功能枚举意图从前序子域发现中选定" },
|
||||
{ intentID: "i5", assetID: 7, summary: "订单接口测试意图从 API 任务目标中选定" },
|
||||
{ intentID: "i3", assetID: 6, summary: "后台功能枚举意图从前序子域发现中选定" },
|
||||
{ intentID: "i5", assetID: 3, summary: "订单接口测试意图从 API 任务目标中选定" },
|
||||
];
|
||||
} else if (seg[1] === "t-acme-api") {
|
||||
mappings = [{ intentID: "i5", assetID: 3, summary: "订单接口测试意图从 API 任务目标中选定" }];
|
||||
|
||||
Reference in new issue
Block a user