fix[文件服务]:修复传参名称不匹配导致文件加载不出来问题

This commit is contained in:
2025-02-25 11:37:50 +08:00
parent 969c5246d5
commit 2bca1983ec
8 changed files with 25 additions and 30 deletions
@@ -108,7 +108,7 @@ public class FileController {
}
@GetMapping("/files/path/style")
public String getViewUrlByPathStyle(@RequestParam Map<String, Object> params) {
public String getViewUrlByPathStyle(@RequestParam Map<String, String> params) {
return fileService.getZipViewUrlByPath(MapUtils.getString(params,"path"),MapUtils.getString(params, "style"));
}