public static class CodeProperties.ImageCodeProperties extends CodeProperties.SmsCodeProperties
Modifier and Type | Field and Description |
---|---|
protected String |
codeKey
从请求中获取图形验证码的标识符的参数,默认值为 image
|
protected String |
codeValue
请求中获取邮件验证码对应的值的参数,默认值为image_code
|
protected Boolean |
fringe
是否生成干扰条纹背景,默认为false
|
protected Integer |
height
验证码的高度,默认为 28
|
protected Integer |
width
验证码的宽度,默认为70
|
containLetter, containNumber, expireIn, length
Constructor and Description |
---|
ImageCodeProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getCodeKey() |
String |
getCodeValue() |
Boolean |
getFringe() |
Integer |
getHeight() |
Integer |
getWidth() |
void |
setCodeKey(String codeKey) |
void |
setCodeValue(String codeValue) |
void |
setFringe(Boolean fringe) |
void |
setHeight(Integer height) |
void |
setWidth(Integer width) |
getContainLetter, getContainNumber, getExpireIn, getLength, setContainLetter, setContainNumber, setExpireIn, setLength
protected Integer width
protected Integer height
protected Boolean fringe
protected String codeKey
protected String codeValue
public Integer getWidth()
public void setWidth(Integer width)
public Integer getHeight()
public void setHeight(Integer height)
public Boolean getFringe()
public void setFringe(Boolean fringe)
public String getCodeKey()
getCodeKey
in class CodeProperties.SmsCodeProperties
public void setCodeKey(String codeKey)
setCodeKey
in class CodeProperties.SmsCodeProperties
public String getCodeValue()
getCodeValue
in class CodeProperties.SmsCodeProperties
public void setCodeValue(String codeValue)
setCodeValue
in class CodeProperties.SmsCodeProperties
Copyright © 2021. All rights reserved.