SpringCloud 經過Feign 調用其餘服務下載文件

 SpringCloud 微服務中 經過Feign 調用文件下載接口 下載文件 不能使用 HttpServletResponse 接受文件流.數組  1. 使用 feign.Response, 調用完遠程接口後,再獲取處理返回的文件流app  2. 使用ResponseEntity<byte[]> 來傳送文件流微服務  a. 遠程文件下載接口code ResponseEntity<byte[]>
相關文章
相關標籤/搜索