From 9679d1d7fc12895d7a63f19552ab20389deaa51f Mon Sep 17 00:00:00 2001 From: nineven Date: Wed, 6 May 2020 08:52:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B6=85=E7=BA=A7=E7=AD=BE?= =?UTF-8?q?=E5=90=8C=E4=B8=80=E4=B8=AAudid=E4=B8=8B=E8=BD=BD=EF=BC=8C?= =?UTF-8?q?=E6=AC=A1=E6=95=B0=E4=B8=8D=E5=A2=9E=E5=8A=A0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_ser/api/views/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fir_ser/api/views/download.py b/fir_ser/api/views/download.py index 324070e..aef7b9c 100644 --- a/fir_ser/api/views/download.py +++ b/fir_ser/api/views/download.py @@ -155,7 +155,7 @@ class InstallView(APIView): download_url = get_download_url_by_cache(app_obj,release_id + apptype,600,isdownload,udid=udid) res.data={"download_url":download_url} - if download_url != "" and (udid is None or udid == ""): + if download_url != "" and not download_url.endswith("mobileconifg"): set_app_download_by_cache(app_id) return Response(res.dict) else: