fix
Helius
2022-08-10 8a43111118b7634cd3f658d3af03836e5c832132
src/main/java/com/xcong/farmer/cms/modules/system/controller/AdminCommonController.java
@@ -112,12 +112,15 @@
    @Value("${static.resource.url}")
    private String resourceUrl;
    @Value("${static.resource.path}")
    private String resourcePath;
    @ApiOperation(value = "文件上传", notes = "文件上传")
    @PostMapping("/uploadFile")
    public Result uploadFile(@RequestParam("file") MultipartFile file) throws Exception {
        // 文件保存目录路径
        String savePath = AppContants.PICTURE_PATH;
        String savePath = resourcePath;
        // 文件保存目录URL
        String saveUrl = resourceUrl;
        // 检查目录