新增getContentType默认值;解决IE浏览器验证码不显示

This commit is contained in:
wxk
2020-04-29 08:46:54 +08:00
parent da3501451b
commit f1d2bc93ab
7 changed files with 36 additions and 4 deletions

View File

@@ -79,6 +79,11 @@ public class ChineseGifCaptcha extends ChineseCaptchaAbstract {
return toBase64("data:image/gif;base64,");
}
@Override
public String getContentType() {
return "image/gif";
}
/**
* 画随机码图
*