From c3aa826406d52957d6f98d0ecd4b77413d5ce908 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Mon, 29 Aug 2022 18:23:08 +0800 Subject: [PATCH] 统计模块异步加载 --- src/api/fileManage.js | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/src/api/fileManage.js b/src/api/fileManage.js index 0875988..f39f6f3 100644 --- a/src/api/fileManage.js +++ b/src/api/fileManage.js @@ -11,7 +11,20 @@ return axios({ url: '/sysFileInfo/upload', method: 'post', - data: parameter + data: parameter, + timeout:60*60*1000 + }) +} + +/** + * 自定义文件上传 + */ +export function myFileInfoUpload (parameter) { + return axios({ + url: '/outside/sysFileInfo/upload', + method: 'post', + data: parameter, + timeout:60*60*1000 }) } -- Gitblit v1.9.1