Commit 3520e9aa by fukai

补充contenttype解决ie11验证码不出现问题

parent 6ad2f1a2
......@@ -97,6 +97,7 @@ public class VerifyCodeCreateController {
log.info("key===" + kb);
RedisUtil.set(kb, codes.toString(), vcsessionout);
response.setHeader("Content-Type","image/jpeg");
// request.getSession().setAttribute(Constants.VERIFYCODE, codes.toString());
ImageIO.write(bi, "JPG", response.getOutputStream());
} catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment