批量下载,前后
//后台代码
@RequestMapping(value = "/downloadInvoices", method = RequestMethod.GET)
@Transactional(rollbackFor = Exception.class, propagation = Propagation.REQUIRED) // 数据的回滚,需要测试
public void downloadInvoices(HttpServletResponse response, String ids)
throws UnsupportedEncodingException, NoSuchAlgorithmException {
//读取yml文件
String address = env.getProperty("file.download.url"); //如果想指定下载位置
String uploadUrl = env.getProperty("fi
批量下载,前后最先出现在Python成神之路。
共有 0 条评论