二维码识别新增南通市中医院
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user