對於檔案下載,應該使用 InputStreamResource 下載檔案。需要在 Response 中設定HttpHeader Content-Disposition,並且需要指定應用程式的響應 Media Type 。
確定! 回上一頁