From 50da6044a41149494ed7521c333cd8b1ac05ae66 Mon Sep 17 00:00:00 2001 From: youngS Date: Wed, 3 Nov 2021 17:32:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AE=BE=E5=A4=87=E6=B6=88?= =?UTF-8?q?=E5=8C=96=E8=B4=A6=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/src/components/FirDownload.vue | 2 +- fir_client/src/components/ShortDownload.vue | 2 +- .../src/components/user/FirSuperSignBase.vue | 128 +++++++++++++++++- fir_client/src/restful/index.js | 15 ++ ...eveloperpublicpoolbill_remoteclientinfo.py | 1 + fir_ser/api/migrations/0018_devicequeue.py | 26 ++++ .../0019_iosdeveloperpublicpoolbill_udid.py | 17 +++ fir_ser/api/models.py | 9 ++ fir_ser/api/tasks.py | 2 +- fir_ser/api/urls.py | 3 +- fir_ser/api/utils/app/supersignutils.py | 66 +++++---- fir_ser/api/utils/serializer.py | 44 ++++++ fir_ser/api/utils/utils.py | 15 +- fir_ser/api/views/apps.py | 2 +- fir_ser/api/views/supersign.py | 25 +++- 15 files changed, 312 insertions(+), 45 deletions(-) create mode 100644 fir_ser/api/migrations/0018_devicequeue.py create mode 100644 fir_ser/api/migrations/0019_iosdeveloperpublicpoolbill_udid.py diff --git a/fir_client/src/components/FirDownload.vue b/fir_client/src/components/FirDownload.vue index 6078fe8..39cb90a 100644 --- a/fir_client/src/components/FirDownload.vue +++ b/fir_client/src/components/FirDownload.vue @@ -612,7 +612,7 @@ } } else if (data.code === 1002) { window.location.href = location.href.replace(location.search, ''); - }else if (data.code === 302 && data.data) { + } else if (data.code === 302 && data.data) { window.location.href = data.data; } else { if (data.msg) { diff --git a/fir_client/src/components/ShortDownload.vue b/fir_client/src/components/ShortDownload.vue index beb43b2..b609509 100644 --- a/fir_client/src/components/ShortDownload.vue +++ b/fir_client/src/components/ShortDownload.vue @@ -597,7 +597,7 @@ } } else if (data.code === 1002) { window.location.href = location.href.replace(location.search, ''); - }else if (data.code === 302 && data.data) { + } else if (data.code === 302 && data.data) { window.location.href = data.data; } else { this.iserror = true; diff --git a/fir_client/src/components/user/FirSuperSignBase.vue b/fir_client/src/components/user/FirSuperSignBase.vue index 9d0578f..8456e20 100644 --- a/fir_client/src/components/user/FirSuperSignBase.vue +++ b/fir_client/src/components/user/FirSuperSignBase.vue @@ -126,6 +126,7 @@