收敛海外PDA回归夹具选择
This commit is contained in:
@@ -529,7 +529,7 @@ async function runReceiving(context, token, secondaryToken, merchantToken, prefe
|
||||
`/api/pda/v1/last-leg/receiving-containers/${encodeURIComponent(containerNo)}/prepare`,
|
||||
{ idempotencyKey: key(context, 'secondary-prepare') }, conflict)
|
||||
}
|
||||
const other = candidates.data.find((item) => item.containerNo !== containerNo)
|
||||
const other = candidates.data.find((item) => item.containerNo !== containerNo && item.operable === true)
|
||||
if (other) await expected(context, token, 'GET', '当前账号跨柜切换锁返回409',
|
||||
`/api/pda/v1/last-leg/receiving-containers/${encodeURIComponent(other.containerNo)}`, undefined, conflict)
|
||||
else blockerGap(context, '跨柜锁409', '当前客户只有一个待收柜,无法在不伪造柜数据的前提下验证跨柜锁')
|
||||
|
||||
Reference in New Issue
Block a user