Merge b3c3b328fa
into f6cb6062f5
This commit is contained in:
@@ -116,6 +116,13 @@ public abstract class Captcha extends Randoms {
|
||||
*/
|
||||
public abstract String toBase64();
|
||||
|
||||
/**
|
||||
* 获取图片类型
|
||||
*
|
||||
* @return 图片格式,MIME类型
|
||||
*/
|
||||
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