From 59d7d905d329b9c52755f6c027a98983d04e96c6 Mon Sep 17 00:00:00 2001 From: MMXX Date: Tue, 28 Dec 2021 17:38:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/src/components/FirBase.vue | 3 +- .../src/components/apps/FirAppInfosBase.vue | 2 +- .../components/apps/FirAppInfossecurity.vue | 4 +- fir_client/src/components/apps/FirApps.vue | 2 +- fir_client/src/components/base/BindDomain.vue | 13 +- .../src/components/user/FirSuperSignBase.vue | 107 +++++++++---- .../src/components/user/FirUserAdvert.vue | 2 +- .../src/components/user/FirUserDomain.vue | 32 ++-- .../src/components/user/FirUserOrders.vue | 17 +-- .../src/components/user/FirUserQrcode.vue | 4 +- fir_client/src/utils/index.js | 8 + ...220_1711.py => 0028_auto_20211228_1454.py} | 13 +- fir_ser/api/models.py | 5 +- fir_ser/api/utils/app/iossignapi.py | 33 ++-- fir_ser/api/utils/app/supersignutils.py | 141 +++++++++--------- fir_ser/api/utils/apple/appleapiv3.py | 3 +- fir_ser/api/utils/crontab/ctasks.py | 14 +- fir_ser/api/utils/serializer.py | 3 +- fir_ser/api/utils/utils.py | 4 +- fir_ser/api/views/supersign.py | 34 +++-- 20 files changed, 258 insertions(+), 186 deletions(-) rename fir_ser/api/migrations/{0028_auto_20211220_1711.py => 0028_auto_20211228_1454.py} (53%) diff --git a/fir_client/src/components/FirBase.vue b/fir_client/src/components/FirBase.vue index 923b291..51eed35 100644 --- a/fir_client/src/components/FirBase.vue +++ b/fir_client/src/components/FirBase.vue @@ -125,7 +125,8 @@ export default { font-size: medium; margin-right: 20px; } -/deep/ .el-alert{ + +/deep/ .el-alert { padding: 2px 16px; } diff --git a/fir_client/src/components/apps/FirAppInfosBase.vue b/fir_client/src/components/apps/FirAppInfosBase.vue index 99e270f..3e9b5c2 100644 --- a/fir_client/src/components/apps/FirAppInfosBase.vue +++ b/fir_client/src/components/apps/FirAppInfosBase.vue @@ -150,7 +150,7 @@ export default { a.dispatchEvent(new MouseEvent('click')) }, short_url(appinfo) { - return appinfo.preview_url+ '/' + appinfo.short; + return appinfo.preview_url + '/' + appinfo.short; }, setfunactive(item, index) { for (let key in this.$refs) { diff --git a/fir_client/src/components/apps/FirAppInfossecurity.vue b/fir_client/src/components/apps/FirAppInfossecurity.vue index 0c59317..e4d5e5d 100644 --- a/fir_client/src/components/apps/FirAppInfossecurity.vue +++ b/fir_client/src/components/apps/FirAppInfossecurity.vue @@ -6,8 +6,8 @@ :visible.sync="bind_domain_sure" title="绑定应用专属下载页域名" width="666px"> - + diff --git a/fir_client/src/components/apps/FirApps.vue b/fir_client/src/components/apps/FirApps.vue index 5536849..ca13a63 100644 --- a/fir_client/src/components/apps/FirApps.vue +++ b/fir_client/src/components/apps/FirApps.vue @@ -1140,7 +1140,7 @@ export default { this.$router.push({name: 'FirAppInfostimeline', params: {id: app.app_id}}) }, appDownload(app) { - window.open(app.preview_url+ '/' + app.short, '_blank', ''); + window.open(app.preview_url + '/' + app.short, '_blank', ''); } }, computed: { getDelappTitle() { diff --git a/fir_client/src/components/base/BindDomain.vue b/fir_client/src/components/base/BindDomain.vue index 93c1203..51b3c66 100644 --- a/fir_client/src/components/base/BindDomain.vue +++ b/fir_client/src/components/base/BindDomain.vue @@ -181,7 +181,7 @@ export default { bind_status: false, bind_domain_sure: true, domain_tData: [{'type': 'CNAME', 'host': 'xxx', 'dns': 'demo.xxx.cn'}], - domain_name:'', + domain_name: '', force_bind: false, b_t_msg: '您的账户', } @@ -190,7 +190,7 @@ export default { if (this.domain_type === 2) { this.b_t_msg = '您的应用' } - if(this.c_domain_name){ + if (this.c_domain_name) { this.domain_name = this.c_domain_name } this.bind_click(); @@ -225,7 +225,7 @@ export default { this.bind_status = false; this.$message.error("绑定失败 " + data.msg) } - }, {methods: 'PUT', data: {app_id: this.app_id, domain_type: this.domain_type, domain_name:this.domain_name}}) + }, {methods: 'PUT', data: {app_id: this.app_id, domain_type: this.domain_type, domain_name: this.domain_name}}) }, remove_domain() { domainFun(data => { @@ -244,7 +244,10 @@ export default { } else { this.$message.error("解除绑定失败 " + data.msg) } - }, {methods: 'DELETE', data: {app_id: this.app_id, domain_type: this.domain_type, domain_name:this.domain_name}}); + }, { + methods: 'DELETE', + data: {app_id: this.app_id, domain_type: this.domain_type, domain_name: this.domain_name} + }); }, bind_click() { this.$store.dispatch("dosetdomainstate", false); @@ -267,7 +270,7 @@ export default { } else { this.$message.error("绑定失败 " + data.msg) } - }, {methods: 'GET', data: {app_id: this.app_id, domain_type: this.domain_type, domain_name:this.domain_name}}); + }, {methods: 'GET', data: {app_id: this.app_id, domain_type: this.domain_type, domain_name: this.domain_name}}); }, format_domain_tData(cname_domain) { let domain_name_list = this.domain_name.split('.'); diff --git a/fir_client/src/components/user/FirSuperSignBase.vue b/fir_client/src/components/user/FirSuperSignBase.vue index 09168ed..62c96f6 100644 --- a/fir_client/src/components/user/FirSuperSignBase.vue +++ b/fir_client/src/components/user/FirSuperSignBase.vue @@ -67,6 +67,18 @@ {{ editdeveloperinfo.app_used_count }} 个应用 + + + + 该模式下,新设备,新应用无法进行注册安装,但是已经安装的不影响 + 通过账户激活进行关闭维护模式 + @@ -84,7 +96,7 @@ type="danger" @click="cleandevices">清理签名数据 - 同步设备信息 @@ -100,7 +112,7 @@ @click="isorenewcert">删除发布证书 - 账户激活检测 @@ -268,10 +280,10 @@