新增getContentType默认值;解决IE浏览器验证码不显示
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user