diff --git a/pom.xml b/pom.xml index e7844ae..151d593 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.fjy spring - V2.9.6 + V2.9.7 jar spring diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 9efaa1c..7ef289a 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,4 +1,4 @@ #控制配置文件调用 spring: profiles: - active: dev \ No newline at end of file + active: prod \ No newline at end of file diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index 9530fc7..362427e 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -25,13 +25,13 @@ - F:\JAVA Workspace\Temp\log\%d\info.%d.log - - - + + /www/cmsfile/%d/info.%d.log + + - - + + ERROR @@ -44,8 +44,8 @@ - F:\JAVA Workspace\Temp\log\error.%d.log - + + /www/cmsfile/%d/error.%d.log diff --git a/src/main/resources/static/js/homepage.js b/src/main/resources/static/js/homepage.js index b7e5b8d..2e53cd2 100644 --- a/src/main/resources/static/js/homepage.js +++ b/src/main/resources/static/js/homepage.js @@ -301,6 +301,7 @@ var Main = { let that = this; if (file.status==="success"){ that.openNotiSuccess("成功", file.name+"上传成功!"); + that.getFileList(); }else{ that.openNotiError("失败", file.name+"上传失败!"); } @@ -312,9 +313,6 @@ var Main = { submitUpload() { let that = this; this.$refs.upload.submit(); - setTimeout(function () { - that.getFileList(); - }, 1000); }, handleRemove(file, fileList) { console.log(file, fileList);