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)