fix[文件服务]:修复传参名称不匹配导致文件加载不出来问题
This commit is contained in:
+1
-1
@@ -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"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user