优化
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user