#返显高亮工作流

This commit is contained in:
Roland
2021-11-05 20:54:26 +08:00
parent 9bbeb93b2e
commit e9e73c402b
3 changed files with 15 additions and 3 deletions

View File

@ -267,7 +267,6 @@ public class TaskServiceImpl implements TaskService {
}
private void responseImage(HttpServletResponse response, InputStream inputStream, String picName) throws IOException {
BufferedImage src = ImageIO.read(inputStream);
response.setContentType("application/octet-stream;charset=UTF-8");
response.setHeader("Content-Disposition", "attachment; filename=" + URLEncoder.encode(picName, "UTF-8"));
byte[] b = new byte[1024];