diff --git a/eladmin-system/src/main/java/me/zhengjie/modules/uploadnew/rest/TbUploadFileNewController.java b/eladmin-system/src/main/java/me/zhengjie/modules/uploadnew/rest/TbUploadFileNewController.java index ad8f62d..ce8b0d4 100644 --- a/eladmin-system/src/main/java/me/zhengjie/modules/uploadnew/rest/TbUploadFileNewController.java +++ b/eladmin-system/src/main/java/me/zhengjie/modules/uploadnew/rest/TbUploadFileNewController.java @@ -144,9 +144,9 @@ public class TbUploadFileNewController { */ @Log("新的成单数据及录音文件导入接口") @ApiOperation("新的成单数据及录音文件导入接口") - @AnonymousAccess +// @AnonymousAccess @PostMapping("/newFileUpload") -// @PreAuthorize("@el.check('tbUploadFileNew:list')") // 这个换下相关按钮的权限控制 + @PreAuthorize("@el.check('tbUploadFileNew:list')") // 这个换下相关按钮的权限控制 // @ResponseBody public ResponseEntity newFileUpload(@RequestParam("file") MultipartFile[] files, @RequestParam(value = "taskName") String taskName) { diff --git a/eladmin-system/src/main/resources/config/application.yml b/eladmin-system/src/main/resources/config/application.yml index dc604c7..bf23194 100644 --- a/eladmin-system/src/main/resources/config/application.yml +++ b/eladmin-system/src/main/resources/config/application.yml @@ -5,7 +5,7 @@ spring: freemarker: check-template-location: false profiles: - active: dev + active: prod jackson: time-zone: GMT+8 data: diff --git a/eladmin-system/src/main/resources/logback.xml b/eladmin-system/src/main/resources/logback.xml index 40d230d..4fd9306 100644 --- a/eladmin-system/src/main/resources/logback.xml +++ b/eladmin-system/src/main/resources/logback.xml @@ -77,7 +77,7 @@ - - + + \ No newline at end of file