新增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

@@ -116,6 +116,13 @@ public abstract class Captcha extends Randoms {
*/
public abstract String toBase64();
/**
* 获取图片歌手
*
* @return 图片格式 MINI
*/
public abstract String getContentType();
/**
* 输出base64编码
*
@@ -308,4 +315,4 @@ public abstract class Captcha extends Randoms {
public void setCharType(int charType) {
this.charType = charType;
}
}
}