From 1e2a8a64cb521b456f64d3f2e48834b5eaa5c41f Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 18 Apr 2022 17:12:14 +0800 Subject: [PATCH] ... --- .../java/io/renren/common/controller/FileUploadController.java | 2 +- .../processForm/controller/TAbilityApplicationController.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/renren-admin/src/main/java/io/renren/common/controller/FileUploadController.java b/renren-admin/src/main/java/io/renren/common/controller/FileUploadController.java index 902ff819..da5266e6 100644 --- a/renren-admin/src/main/java/io/renren/common/controller/FileUploadController.java +++ b/renren-admin/src/main/java/io/renren/common/controller/FileUploadController.java @@ -28,7 +28,7 @@ public class FileUploadController { private static Logger logger = LoggerFactory.getLogger(FileUploadController.class); - SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd/"); + private static SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd/"); @PostMapping("/upload") public Result upload(@RequestParam("file") MultipartFile uploadFile, diff --git a/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java b/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java index 86301db6..82a641b9 100644 --- a/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java +++ b/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java @@ -17,7 +17,6 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; -import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import springfox.documentation.annotations.ApiIgnore;