From 5169c8a47715a9551c581d3cba0d1a93b21f7e48 Mon Sep 17 00:00:00 2001 From: youngS Date: Wed, 21 Jul 2021 10:11:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B6=85=E7=BA=A7=E7=AD=BE=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E5=90=8D=E5=AD=97=E4=B8=8D=E8=83=BD=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/src/components/apps/FirApps.vue | 2 +- fir_ser/api/utils/app/apputils.py | 1 + fir_ser/api/views/apps.py | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fir_client/src/components/apps/FirApps.vue b/fir_client/src/components/apps/FirApps.vue index 091497a..fe3713d 100644 --- a/fir_client/src/components/apps/FirApps.vue +++ b/fir_client/src/components/apps/FirApps.vue @@ -97,7 +97,7 @@
- + {{ analyseappinfo.version}} (Build {{ analyseappinfo.buildversion}}) {{ analyseappinfo.release_type_id|getiOStype}} diff --git a/fir_ser/api/utils/app/apputils.py b/fir_ser/api/utils/app/apputils.py index 0304267..cddcccd 100644 --- a/fir_ser/api/utils/app/apputils.py +++ b/fir_ser/api/utils/app/apputils.py @@ -126,6 +126,7 @@ def SaveAppInfos(app_file_name, user_obj, appinfo, bundle_id, app_img, short, si "user_id": user_obj, "type": get_app_type(app_file_name), "name": appinfo["labelname"], + "new_bundle_name": appinfo["labelname"], "short": short, "bundle_id": bundle_id, "count_hits": 0, diff --git a/fir_ser/api/views/apps.py b/fir_ser/api/views/apps.py index 53ac651..4cb7835 100644 --- a/fir_ser/api/views/apps.py +++ b/fir_ser/api/views/apps.py @@ -208,9 +208,9 @@ class AppInfoView(APIView): do_sign_flag = 2 apps_obj.new_bundle_name = new_bundle_name if new_bundle_name == '': - if new_bundle_name != apps_obj.new_bundle_name: - do_sign_flag = 2 - apps_obj.new_bundle_name = None + # if new_bundle_name != apps_obj.new_bundle_name: + # do_sign_flag = 2 + apps_obj.new_bundle_name = apps_obj.name apps_obj.wxredirect = data.get("wxredirect", apps_obj.wxredirect) if apps_obj.type == 1 and data.get('issupersign', -1) != -1: