From 5325f19f79fead730cd69faafa667efd436cbe04 Mon Sep 17 00:00:00 2001 From: han0 Date: Thu, 19 Nov 2020 16:17:31 +0800 Subject: [PATCH] docs: --- nc_http/core/verification/image.py | 3 +++ nc_http/core/verification/storage.py | 3 +++ 2 files changed, 6 insertions(+) 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):