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