- 博客(2)
- 资源 (3)
- 收藏
- 关注
转载 Feign调用文件下载服务接口实例
Feign调用文件下载服务接口实例服务提供者:@PostMapping(value = “/downLoadFile”)public void downloadFile(@RequestParam String path, HttpServletResponse response) {File file = new File(path);FileUtil.fileDownload(response, file, false);}FileUtil工具类import org.slf4j.Logg
2021-04-30 11:22:48
897
3
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人