This commit is contained in:
2026-08-08 10:11:04 +08:00
parent f3c2bafec8
commit fc14856ea3
64 changed files with 50932 additions and 30 deletions
@@ -0,0 +1,7 @@
export async function run(context) {
const module = 'replace-with-module-name'
const response = await context.request('GET', '/api/platform/v1/replace-with-real-api')
const data = context.apiSuccess(module, '查询模块列表', response)
context.assert(module, '列表结构正确', response, Array.isArray(data?.records),
`records=${data?.records?.length ?? 'n/a'}`)
}