java 文件下载
1、文件流 try { // path是指欲下载的文件的路径。 File file = new File(path); if(!file.exists()){ return ResultMsg.failMsg(500,"该文件不存在"); } // 取得文件名。 String filename = file.getNam