test: target unified order remarks endpoint

This commit is contained in:
2026-09-14 17:31:06 +08:00
parent 6f917f9b2a
commit a9959620f1
+1 -1
View File
@@ -689,7 +689,7 @@ export async function run(context) {
assertCargoContract(context, firstLegDetailResponse, firstLegDetail?.cargoes, payload)
const noteResponse = await context.request('PUT',
`/api/platform/v1/orders/first-leg/${encodeURIComponent(orderId)}/remarks?tenantId=${encodeURIComponent(tenantId)}`,
`/api/platform/v1/orders/${encodeURIComponent(orderId)}/remarks?tenantId=${encodeURIComponent(tenantId)}`,
{
expectedVersion: Number(firstLegDetail?.order?.version),
internalRemark: `${context.marker} Admin 订单链路验收`,