优化测试功能

This commit is contained in:
2024-07-30 10:54:40 +08:00
parent 9e0e3d0e7d
commit ecf26c1bf6
3 changed files with 7 additions and 2 deletions

View File

@@ -14,6 +14,8 @@ def check_error(error_ocr):
if not img_url:
# 没有自动涂抹的图片
img_url = ufile.get_private_url(error_ocr.cfjaddress, "drg103")
if not img_url:
return None
name = error_ocr.cXm
id_card_num = error_ocr.cSfzh