从其他系统中下载文件 为本系统用户提供下载源
最后更新:2023-10-18 20:13:52
|
状态:未完成
@RequestMapping("export") public void export(HttpServletRequest request, HttpServletResponse response){ HttpResponse httpResponse= HttpBuilder.init().setUrl(url).setParams(params).setReturnType("stream").build().post(); WebUtil.download(request, response, httpResponse.getInputStream(), "支付记录.xlsx"); }