This commit is contained in:
wangliwen 2022-04-18 17:12:14 +08:00
parent e0e3450a86
commit 1e2a8a64cb
2 changed files with 1 additions and 2 deletions

View File

@ -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<String> upload(@RequestParam("file") MultipartFile uploadFile,

View File

@ -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;