fix(scripts): use domestic container detail route

This commit is contained in:
2026-09-08 23:06:07 +08:00
parent f7f4c80806
commit 00990fedcc
6 changed files with 32 additions and 5 deletions
@@ -51,7 +51,7 @@ export async function run(context) {
}
const overseasTokenAgainstDomestic = await context.request('GET',
`/api/platform/v1/containers/${encodeURIComponent(id(phase3.containerBookingId))}`,
`/api/platform/v1/containers/domestic/${encodeURIComponent(id(phase3.containerBookingId))}`,
undefined, context.overseasToken)
context.assert(MODULE, '海外Token不能访问国内Audience', overseasTokenAgainstDomestic,
denied(overseasTokenAgainstDomestic) && traced(overseasTokenAgainstDomestic),