From 002c90d5e3bfba9a550cdde53b961daa497634b9 Mon Sep 17 00:00:00 2001 From: youngS Date: Sat, 6 Nov 2021 17:37:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B7=B2=E7=9F=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/src/components/apps/FirApps.vue | 7 + .../src/components/user/FirSuperSignBase.vue | 174 ++++++++++++++---- fir_client/src/utils/index.js | 6 +- .../0022_iosdeveloperpublicpoolbill_app_id.py | 19 ++ .../0023_remove_appudid_binary_file.py | 16 ++ fir_ser/api/models.py | 6 +- fir_ser/api/tasks.py | 4 +- fir_ser/api/utils/app/apputils.py | 9 +- fir_ser/api/utils/app/supersignutils.py | 73 +++----- fir_ser/api/utils/modelutils.py | 52 +++++- fir_ser/api/utils/serializer.py | 10 +- fir_ser/api/utils/storage/caches.py | 19 +- fir_ser/api/views/apps.py | 12 +- fir_ser/api/views/supersign.py | 34 +++- fir_ser/api/views/uploads.py | 17 +- 15 files changed, 331 insertions(+), 127 deletions(-) create mode 100644 fir_ser/api/migrations/0022_iosdeveloperpublicpoolbill_app_id.py create mode 100644 fir_ser/api/migrations/0023_remove_appudid_binary_file.py diff --git a/fir_client/src/components/apps/FirApps.vue b/fir_client/src/components/apps/FirApps.vue index a10f7b6..795c21c 100644 --- a/fir_client/src/components/apps/FirApps.vue +++ b/fir_client/src/components/apps/FirApps.vue @@ -175,6 +175,9 @@ }} UDID + + 开启超级签 + @@ -597,6 +600,7 @@ pay_choices: [], analyseappinfo: {icon: ''}, short: '', + enable_sign: '', keysearch: '', searchfromtype: '', applists: [], @@ -672,6 +676,7 @@ analyseApps(data => { if (data.code === 1000) { this.short = data.data.short; + this.enable_sign = data.data.enable_sign; for (let name of Object.keys(data.data)) { analyseappinfo[name] = data.data[name] } @@ -773,6 +778,7 @@ this.$message.success(file.raw.name + '上传成功'); if (!multiFlag) { analyseappinfo.short = this.short; + analyseappinfo.enable_sign = this.enable_sign; } const loading = this.$loading({ lock: true, @@ -817,6 +823,7 @@ const pnumber = 20; this.uploadprocess[process_key].process = process; this.uploadprocess[process_key].short = analyseappinfo.short; + this.uploadprocess[process_key].enable_sign = analyseappinfo.enable_sign; this.uploadprocess[process_key].appname = analyseappinfo.appname; if (process > 0) { let percent = this.uploadprocess[process_key].percent; diff --git a/fir_client/src/components/user/FirSuperSignBase.vue b/fir_client/src/components/user/FirSuperSignBase.vue index d81890c..91a26bb 100644 --- a/fir_client/src/components/user/FirSuperSignBase.vue +++ b/fir_client/src/components/user/FirSuperSignBase.vue @@ -94,6 +94,81 @@ + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + 关闭 + +
+ 注意事项:

1.添加后,请勿撤销 API 密钥,否则会导致用户安装的软件闪退或无法安装!

2.每个开发者账号最多可创建两本证书,请确保至少还可以创建一本证书!

-

3.添加后,系统会自动创建证书、设备和描述文件,请勿删除这些文件,否则会导致用户安装的软件闪退或无法安装!

+

3.添加后,激活开发者账户,然后您就可以上传p12证书或者通过系统自动创建证书、设备和描述文件,请勿删除这些文件,否则会导致用户安装的软件闪退或无法安装!

@@ -499,47 +574,34 @@ align="center" label="设备ID" > + - + - - - - - - + label="设备安装次数" + width="110"> +