From 814730a0f04aea2a2f57c08dfb6dbd1d455c0b5e Mon Sep 17 00:00:00 2001 From: liuyebo <1515783401@qq.com> Date: Fri, 18 Oct 2024 16:14:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E8=AF=86=E5=88=AB?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8D=97=E9=80=9A=E5=B8=82=E4=B8=AD=E5=8C=BB?= =?UTF-8?q?=E9=99=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- photo_review/auto_photo_review.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/photo_review/auto_photo_review.py b/photo_review/auto_photo_review.py index fdf40f6..aeb00da 100644 --- a/photo_review/auto_photo_review.py +++ b/photo_review/auto_photo_review.py @@ -98,6 +98,9 @@ def parse_qrcode(img_path, image_id): elif url.startswith('http://weixin.qq.com'): # 无效地址 continue + elif url.startswith('http://dzpj.ntzyy.com'): + # 南通市中医院 + return _parse_pdf_url(url) else: logging.getLogger('qr').info(f'[{image_id}]中有未知二维码内容:{url}') except Exception as e: