Commit 613499c9 authored by huyf's avatar huyf

出货下载相关增加超时时间

parent aec4b6ec
...@@ -257,6 +257,7 @@ export function downloadAgentListFiles(params) { ...@@ -257,6 +257,7 @@ export function downloadAgentListFiles(params) {
return request({ return request({
url: "/ecw/box-preload-goods/downloadAgentListFiles", url: "/ecw/box-preload-goods/downloadAgentListFiles",
method: "get", method: "get",
timeout: 3*60*1000,
params, params,
}); });
} }
...@@ -266,6 +267,7 @@ export function downloadSoncapFiles(params) { ...@@ -266,6 +267,7 @@ export function downloadSoncapFiles(params) {
return request({ return request({
url: "/ecw/box-preload-goods/downloadSoncapFiles", url: "/ecw/box-preload-goods/downloadSoncapFiles",
method: "get", method: "get",
timeout: 3*60*1000,
params, params,
}); });
} }
...@@ -275,6 +277,7 @@ export function downloadCustomFiles(params) { ...@@ -275,6 +277,7 @@ export function downloadCustomFiles(params) {
return request({ return request({
url: "/ecw/box-preload-goods/downloadCustomFiles", url: "/ecw/box-preload-goods/downloadCustomFiles",
method: "get", method: "get",
timeout: 3*60*1000,
params, params,
}); });
} }
...@@ -284,6 +287,7 @@ export function downloadLoadGoodsList(params) { ...@@ -284,6 +287,7 @@ export function downloadLoadGoodsList(params) {
return request({ return request({
url: "/ecw/box-preload-goods/downloadLoadGoodsList", url: "/ecw/box-preload-goods/downloadLoadGoodsList",
responseType: "blob", responseType: "blob",
timeout: 3*60*1000,
method: "get", method: "get",
params, params,
}); });
...@@ -294,6 +298,7 @@ export function downloadPreloadGoodsList(params) { ...@@ -294,6 +298,7 @@ export function downloadPreloadGoodsList(params) {
return request({ return request({
url: "/ecw/box-preload-goods/downloadPreloadGoodsList", url: "/ecw/box-preload-goods/downloadPreloadGoodsList",
responseType: "blob", responseType: "blob",
timeout: 3*60*1000,
method: "get", method: "get",
params, params,
}); });
...@@ -304,6 +309,7 @@ export function downloadReceivableList(params) { ...@@ -304,6 +309,7 @@ export function downloadReceivableList(params) {
return request({ return request({
url: "/ecw/box-preload-goods/downloadReceivableList", url: "/ecw/box-preload-goods/downloadReceivableList",
responseType: "blob", responseType: "blob",
timeout: 3*60*1000,
method: "get", method: "get",
params, params,
}); });
...@@ -314,6 +320,7 @@ export function downloadLadingCopy(params) { ...@@ -314,6 +320,7 @@ export function downloadLadingCopy(params) {
return request({ return request({
url: "/ecw/box-lading-copy/downloadLadingCopy", url: "/ecw/box-lading-copy/downloadLadingCopy",
method: "get", method: "get",
timeout: 3*60*1000,
params, params,
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment