统一照片脱敏的图片流转方式

This commit is contained in:
2024-10-11 15:17:26 +08:00
parent 0fc0c80d6f
commit a1dea6f29c
4 changed files with 35 additions and 51 deletions

View File

@@ -111,6 +111,8 @@ def information_extraction(phrec, pk_phhd, identity):
img_path = image_util.get_img_path(phrec.cfjaddress)
if not img_path:
img_url = ufile.get_private_url(phrec.cfjaddress)
if not img_url:
return None, None, None
img_path = image_util.save_to_local(img_url)
# 尝试从二维码中获取高清图片