修复当miniOSversion不存在引发的异常

dependabot/npm_and_yarn/fir_admin/ws-5.2.3
youngS 3 years ago
parent 7fba632390
commit f3349ecc5b
  1. 6
      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", ''),

Loading…
Cancel
Save