test(mock): add worker domain and IP asset fixtures

This commit is contained in:
pphua committed 2026-08-25 00:33:36 +08:00
1 parent 6dd4d70f08
commit 5301a4fe04
2 files changed
+13 -2

No files matched your search

+2 -2
View File
@@ -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: 6, summary: "后台功能枚举意图从前序子域发现中选定" },
{ intentID: "i5", assetID: 3, summary: "订单接口测试意图从 API 任务目标中选定" },
{ intentID: "i3", assetID: 27, summary: "后台功能枚举意图从前序子域发现中选定" },
{ intentID: "i5", assetID: 7, summary: "订单接口测试意图从 API 任务目标中选定" },
];
} else if (seg[1] === "t-acme-api") {
mappings = [{ intentID: "i5", assetID: 3, summary: "订单接口测试意图从 API 任务目标中选定" }];