二维码识别新增南通市中医院

This commit is contained in:
2024-10-18 16:14:00 +08:00
parent c9894d257e
commit 814730a0f0

View File

@@ -98,6 +98,9 @@ def parse_qrcode(img_path, image_id):
elif url.startswith('http://weixin.qq.com'): elif url.startswith('http://weixin.qq.com'):
# 无效地址 # 无效地址
continue continue
elif url.startswith('http://dzpj.ntzyy.com'):
# 南通市中医院
return _parse_pdf_url(url)
else: else:
logging.getLogger('qr').info(f'[{image_id}]中有未知二维码内容:{url}') logging.getLogger('qr').info(f'[{image_id}]中有未知二维码内容:{url}')
except Exception as e: except Exception as e: