打印路径修改

master
anthonywj 2 years ago
parent 3cae7526bc
commit eda9b590d1

@ -90,10 +90,10 @@ public class DownloadController {
}
}
}
@GetMapping(value = "/udiwms/donwload/printFile")
public void printFile(HttpServletResponse response, @RequestParam String fileName) throws IOException {
String url="D:\\udi\\udiwms\\udiwmsfile\\pdf\\template\\"+fileName;
String url = filePath + "pdf/template/" + fileName;
OutputStream os = null;
try {
FileInputStream input = new FileInputStream(new File(url));

Loading…
Cancel
Save