From 7fba63239077eda90619561c306b91b04cfc30e8 Mon Sep 17 00:00:00 2001 From: youngS Date: Fri, 2 Jul 2021 14:34:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BD=93miniOSversion?= =?UTF-8?q?=E4=B8=8D=E5=AD=98=E5=9C=A8=E5=BC=95=E5=8F=91=E7=9A=84=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_ser/api/utils/app/apputils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fir_ser/api/utils/app/apputils.py b/fir_ser/api/utils/app/apputils.py index c6f0e5d..e8e3331 100644 --- a/fir_ser/api/utils/app/apputils.py +++ b/fir_ser/api/utils/app/apputils.py @@ -157,10 +157,10 @@ def SaveAppInfos(app_file_name, user_obj, appinfo, bundle_id, app_img, short, si "app_id": appmobj, "icon_url": app_img, "release_id": app_file_name.split(".")[0], - "build_version": appinfo.get("version"), - "app_version": appinfo.get("versioncode"), + "build_version": appinfo.get("version","latest"), + "app_version": appinfo.get("versioncode","latest"), "release_type": get_release_type(app_file_name, appinfo), - "minimum_os_version": appinfo.get("miniOSversion", None), + "minimum_os_version": appinfo.get("miniOSversion", 'latest'), "binary_size": size, "is_master": True, "changelog": appinfo.get("changelog", ''),