docs:
This commit is contained in:
@@ -6,6 +6,9 @@ from captcha.image import ImageCaptcha
|
||||
|
||||
|
||||
class SimpleImageCaptcha:
|
||||
"""
|
||||
图片验证码
|
||||
"""
|
||||
|
||||
def __init__(self, width=150, height=50, captcha_length=4, characters=string.digits, *args, **kwargs):
|
||||
self.__width = width
|
||||
|
@@ -4,6 +4,9 @@ from nc_http.core.verification.image import SimpleImageCaptcha
|
||||
|
||||
|
||||
class BaseCaptchaStorage(ABC):
|
||||
"""
|
||||
验证码信息池
|
||||
"""
|
||||
|
||||
@classmethod
|
||||
def create(cls, *args, **kwargs):
|
||||
|
Reference in New Issue
Block a user