diff --git a/app_common/models/base.py b/app_common/models/base.py index 45d8a647..9cfd4feb 100644 --- a/app_common/models/base.py +++ b/app_common/models/base.py @@ -162,7 +162,7 @@ def get_image_url2attachment(url): try: if url.startswith('//'): url = 'https:%s' % url - response = requests.get(url, timeout=30) + response = requests.get(url, timeout=90) except Exception as e: return None, None # 返回这个图片的base64编码