收紧客户端退税报关长ID契约

This commit is contained in:
2026-08-28 17:27:12 +08:00
parent 6a445bbb8f
commit a10ee73ba9
3 changed files with 12 additions and 10 deletions
@@ -512,7 +512,7 @@ test('supports the frozen customs document workflow and customer-safe downloads'
'/completion/download',
]) assert.match(customsApiSource, new RegExp(path.replaceAll('/', '\\/')))
assert.match(customsApiSource, /MAX_CUSTOMS_FILE_SIZE = 50 \* 1024 \* 1024/)
assert.match(customsApiSource, /inboundIds: inboundIds\.map\(String\)/)
assert.match(customsApiSource, /data: \{ inboundIds, expectedVersion: document\.source\.version \}/)
assert.match(customsApiSource, /requestId: error\.requestId/)
assert.match(customsDialogSource, /报关开始后仅可查看和下载,不提供退回或解锁/)
assert.match(customsDialogSource, /detail\.status === 'COMPLETED' && item\.completion/)