Commit 18aa1c2e authored by houjn@hikoon.cn's avatar houjn@hikoon.cn

延长导出接口超时时间

parent 093c87fb
...@@ -558,6 +558,7 @@ export function orderExportSearch(params){ ...@@ -558,6 +558,7 @@ export function orderExportSearch(params){
return request({ return request({
url: '/ecw/order/export/search', url: '/ecw/order/export/search',
method: 'GET', method: 'GET',
timeout: 5 * 60000,
responseType: 'arraybuffer', responseType: 'arraybuffer',
params params
}) })
...@@ -569,6 +570,7 @@ export function orderExportMySearch(params){ ...@@ -569,6 +570,7 @@ export function orderExportMySearch(params){
url: '/ecw/order/export/my/search', url: '/ecw/order/export/my/search',
responseType: 'arraybuffer', responseType: 'arraybuffer',
method: 'GET', method: 'GET',
timeout: 5 * 60000,
params params
}) })
} }
...@@ -579,6 +581,7 @@ export function orderExportDeptSearch(params){ ...@@ -579,6 +581,7 @@ export function orderExportDeptSearch(params){
url: '/ecw/order/export/dept/search', url: '/ecw/order/export/dept/search',
method: 'GET', method: 'GET',
responseType: 'arraybuffer', responseType: 'arraybuffer',
timeout: 5 * 60000,
params params
}) })
} }
...@@ -589,6 +592,7 @@ export function exportAbnormal(params){ ...@@ -589,6 +592,7 @@ export function exportAbnormal(params){
url: '/ecw/order/export/export-exception', url: '/ecw/order/export/export-exception',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -600,6 +604,7 @@ export function exportHeavyOrder(params){ ...@@ -600,6 +604,7 @@ export function exportHeavyOrder(params){
url: '/ecw/order/export/export-heavyOrder', url: '/ecw/order/export/export-heavyOrder',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -610,6 +615,7 @@ export function exportReturnOrder(params){ ...@@ -610,6 +615,7 @@ export function exportReturnOrder(params){
url: '/ecw/order/export/export-returnOrder', url: '/ecw/order/export/export-returnOrder',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -620,6 +626,7 @@ export function exportSaleRepay(params){ ...@@ -620,6 +626,7 @@ export function exportSaleRepay(params){
url: '/ecw/order/export/export-saleRepay', url: '/ecw/order/export/export-saleRepay',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -631,6 +638,7 @@ export function exportCustomsDatas(params){ ...@@ -631,6 +638,7 @@ export function exportCustomsDatas(params){
url: '/ecw/order/export/export-customDatas', url: '/ecw/order/export/export-customDatas',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -642,6 +650,7 @@ export function exportShippingDatas(params){ ...@@ -642,6 +650,7 @@ export function exportShippingDatas(params){
url: '/ecw/order/export/export-shipDatas', url: '/ecw/order/export/export-shipDatas',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -653,6 +662,7 @@ export function exportShipFee(params){ ...@@ -653,6 +662,7 @@ export function exportShipFee(params){
url: '/ecw/order/export/export-shipFee', url: '/ecw/order/export/export-shipFee',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -664,6 +674,7 @@ export function exportUnload(params){ ...@@ -664,6 +674,7 @@ export function exportUnload(params){
url: '/ecw/order/export/export-excel', url: '/ecw/order/export/export-excel',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
......
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