From fce8a09d5e711e0b92e0f65bf8c818f2c008ed81 Mon Sep 17 00:00:00 2001 From: youngS Date: Tue, 23 Nov 2021 16:36:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/vue.config.js | 2 +- fir_ser/api/views/download.py | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fir_client/vue.config.js b/fir_client/vue.config.js index 7edf959..a44545b 100644 --- a/fir_client/vue.config.js +++ b/fir_client/vue.config.js @@ -82,7 +82,7 @@ if (page) { } } -const version='1.3.1'; +const version='1.3.2'; const pro_base_env = { baseUrl: 'https://flyapps.cn', diff --git a/fir_ser/api/views/download.py b/fir_ser/api/views/download.py index b861335..5fb06f5 100644 --- a/fir_ser/api/views/download.py +++ b/fir_ser/api/views/download.py @@ -72,10 +72,11 @@ class DownloadView(APIView): else: release_obj = AppReleaseInfo.objects.filter(release_id=release_id).first() if release_obj: - storage = Storage(release_obj.app_id.user_id) - bundle_id = release_obj.app_id.bundle_id + app_obj = release_obj.app_id + storage = Storage(app_obj.user_id) + bundle_id = app_obj.bundle_id app_version = release_obj.app_version - name = release_obj.app_id.name + name = app_obj.name ios_plist_bytes = make_resigned(storage.get_download_url(filename.split('.')[0] + ".ipa"), storage.get_download_url(release_obj.icon_url), bundle_id, app_version, name)