This commit is contained in:
2026-09-14 18:34:37 +08:00
parent d9a4384585
commit d53de922db
8 changed files with 525 additions and 11 deletions
@@ -87,7 +87,7 @@ async function request(context, method, path, body, headers = {}) {
} catch (error) { return { method, path, http: 0, body: null, raw: String(error), requestId: null, traceId: null } }
}
async function uploadEvidence(context, taskId, warehouseId, evidenceType, expectedVersion, keySuffix,
export async function uploadEvidence(context, taskId, warehouseId, evidenceType, expectedVersion, keySuffix,
{ sealNo = null, remark = context.marker, fileSuffix = evidenceType } = {}) {
const query = new URLSearchParams({ warehouseId: String(warehouseId), expectedVersion: String(expectedVersion),
evidenceType, remark })