From bce0a4b8cdf704d0c227785e173859b5da2d715b Mon Sep 17 00:00:00 2001 From: qiaoyun680 <549653222@qq.com> Date: Fri, 16 May 2025 15:48:37 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=E5=A6=82=E6=9E=9C=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E5=A3=81=E7=BA=B8API=E6=98=AF=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=EF=BC=8C=E5=BA=94=E8=AF=A5=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helper/wallpaper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helper/wallpaper.py b/app/helper/wallpaper.py index bc30e9b1..6238f455 100644 --- a/app/helper/wallpaper.py +++ b/app/helper/wallpaper.py @@ -92,7 +92,7 @@ class WallpaperHelper(metaclass=Singleton): # 如果返回的是图片格式 content_type = resp.headers.get('Content-Type') if content_type and content_type.lower() == 'image/jpeg': - wallpaper_list.append(resp.url) + wallpaper_list.append(settings.CUSTOMIZE_WALLPAPER_API_URL) else: try: result = resp.json()