From c204a62bc55b48cf853101113602f33ee23ebc9b Mon Sep 17 00:00:00 2001 From: ngfchl Date: Fri, 16 Sep 2022 11:01:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E6=97=B6=E8=8B=A5=E6=97=A0Pa?= =?UTF-8?q?sskey=EF=BC=8C=E5=88=99=E4=BC=9A=E8=87=AA=E5=8A=A8=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E4=B8=80=E6=AC=A1=EF=BC=8C=E8=8E=B7=E5=8F=96=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E7=BB=A7=E7=BB=AD=E4=BF=9D=E5=AD=98=EF=BC=8C=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E5=A4=B1=E8=B4=A5=E4=BC=9A=E5=9C=A8=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E4=B8=AD=E6=9C=89=E6=8F=90=E9=86=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ptools/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ptools/base.py b/ptools/base.py index 90a3b56..1c9e661 100644 --- a/ptools/base.py +++ b/ptools/base.py @@ -18,7 +18,8 @@ class StatusCodeEnum(Enum): OK = (0, '成功') ERROR = (-1, '错误') SERVER_ERR = (500, '服务器异常') - + # import + NO_PASSKEY_WARNING = (7001, 'PassKey获取失败!') # OCR 1 OCR_NO_CONFIG = (1001, 'OCR未配置') OCR_ACCESS_ERR = (1002, '在线OCR接口访问错误')