This commit is contained in:
2026-10-22 11:56:47 +08:00
parent 5d71af1ac9
commit de96e47d74
71 changed files with 1296 additions and 332 deletions
@@ -18,6 +18,11 @@ export function warehouseClaim(token) {
// Called only after the owned actor's inventory operations finish. Credentials
// stay in the private handoff context and are never added to createdResources.
export async function verifyPdaWarehouseRevocation(context, picker) {
if (picker?.reused) {
context.addCoverageGap(MODULE, 'fixed-pda-revocation', '固定PDA账号不执行改绑和降权生命周期',
'保留当前账号仓绑定与角色;本轮仅退出测试会话,撤销生命周期未验收', 'not-implemented', { blocking: false })
return
}
if (!picker?.userUpdate || !picker.password || !picker.refreshToken) throw Error('PDA撤销检查缺少本轮完整会话和资料')
const optionsResponse = await context.request('GET', '/api/platform/v1/warehouse-admin/overseas-receiving-options?page=1&size=200')
const page = context.apiSuccess(MODULE, '查询PDA仓绑定变更可用的权威收货仓', optionsResponse, '', OPTIONS)