diff --git a/nc_http/core/verification/image.py b/nc_http/core/verification/image.py index a4d569a..8556efe 100644 --- a/nc_http/core/verification/image.py +++ b/nc_http/core/verification/image.py @@ -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 diff --git a/nc_http/core/verification/storage.py b/nc_http/core/verification/storage.py index 8bdd8d7..7109b15 100644 --- a/nc_http/core/verification/storage.py +++ b/nc_http/core/verification/storage.py @@ -4,6 +4,9 @@ from nc_http.core.verification.image import SimpleImageCaptcha class BaseCaptchaStorage(ABC): + """ + 验证码信息池 + """ @classmethod def create(cls, *args, **kwargs):