k94314517
2024-03-17 947688a33cd6b76917eedd3765e88bd05fdeb20d
server/dmvisit_web/src/main/java/com/doumee/api/web/PublicController.java
@@ -6,7 +6,6 @@
import com.doumee.core.annotation.trace.Trace;
import com.doumee.core.utils.Constants;
import com.doumee.core.utils.DateUtil;
import com.doumee.core.utils.FaceImageCompress;
import com.doumee.core.utils.FtpUtil;
import com.doumee.core.utils.aliyun.ALiYunUtil;
import io.swagger.annotations.Api;
@@ -45,15 +44,6 @@
    @Autowired
    private SystemDictDataBiz systemDictDataBiz;
    @ApiOperation(value = "压缩图片", notes = "压缩图片", httpMethod = "POST", position = 6)
    @ApiImplicitParams({
        @ApiImplicitParam(name = "folder", value = "文件夹", required = true, paramType = "query", dataType = "String", dataTypeClass = String.class),
    })
    @GetMapping(value = "/compressImg")
    public void compressImg(@RequestParam(name = "folder") String folder, @RequestParam(name = "width") int width, HttpServletRequest request, HttpServletResponse response) throws Exception {
       FaceImageCompress. compressAllFiles(new File(folder),width);
    }
    @ApiOperation(value = "上传", notes = "上传", httpMethod = "POST", position = 6)
    @ApiImplicitParams({