From f3349ecc5b14ec918934bd4b54ba472524b3e90f Mon Sep 17 00:00:00 2001 From: youngS Date: Fri, 2 Jul 2021 14:52:30 +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 e8e3331..0304267 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","latest"), - "app_version": appinfo.get("versioncode","latest"), + "build_version": str(appinfo.get("version", "latest")), + "app_version": str(appinfo.get("versioncode", "latest")), "release_type": get_release_type(app_file_name, appinfo), - "minimum_os_version": appinfo.get("miniOSversion", 'latest'), + "minimum_os_version": str(appinfo.get("miniOSversion", "latest")), "binary_size": size, "is_master": True, "changelog": appinfo.get("changelog", ''),