diff --git a/fir_client/src/components/FirDownload.vue b/fir_client/src/components/FirDownload.vue index f3d534e..1ff404e 100644 --- a/fir_client/src/components/FirDownload.vue +++ b/fir_client/src/components/FirDownload.vue @@ -579,7 +579,8 @@ export default { } } }, { - "short": this.$route.params.short, + methods: 'GET', + short: this.$route.params.short, data: {"task_id": this.$route.query.task_id, "unique_key": unique_key} }) }, @@ -599,15 +600,27 @@ export default { window.location.href = this.mobileprovision; }, check_msg() { - if (this.$route.query.udid) { - if (this.$route.query.task_id) { - this.wrong = true; - this.msg = '签名处理中,请耐心等待'; - this.loop_check_task() - } else if (this.$route.query.msg) { - this.wrong = true; - this.show_err_msg(this.$route.query.msg); - } + if (this.$route.query.udid && this.$route.query.task_token) { + this.wrong = true; + this.msg = '签名处理中,请耐心等待'; + gettask(data => { + if (data.code === 1000) { + if (data.task_id) { + this.$route.query.task_id = data.task_id; + this.loop_check_task() + } else if (data.result) { + this.show_err_msg(data.result); + } else { + this.wrong = false; + } + } else { + this.show_err_msg(data.msg); + } + }, { + methods: 'POST', + short: this.$route.params.short, + data: {"task_token": this.$route.query.task_token} + }) } }, download() { diff --git a/fir_client/src/components/ShortDownload.vue b/fir_client/src/components/ShortDownload.vue index c3fb3f8..5e480d6 100644 --- a/fir_client/src/components/ShortDownload.vue +++ b/fir_client/src/components/ShortDownload.vue @@ -544,7 +544,8 @@ export default { } } }, { - "short": this.$route.params.short, + methods: 'GET', + short: this.$route.params.short, data: {"task_id": this.$route.query.task_id, "unique_key": unique_key} }) }, @@ -564,15 +565,27 @@ export default { window.location.href = this.mobileprovision; }, check_msg() { - if (this.$route.query.udid) { - if (this.$route.query.task_id) { - this.wrong = true; - this.msg = '签名处理中,请耐心等待'; - this.loop_check_task() - } else if (this.$route.query.msg) { - this.wrong = true; - this.show_err_msg(this.$route.query.msg); - } + if (this.$route.query.udid && this.$route.query.task_token) { + this.wrong = true; + this.msg = '签名处理中,请耐心等待'; + gettask(data => { + if (data.code === 1000) { + if (data.task_id) { + this.$route.query.task_id = data.task_id; + this.loop_check_task() + } else if (data.result) { + this.show_err_msg(data.result); + } else { + this.wrong = false; + } + } else { + this.show_err_msg(data.msg); + } + }, { + methods: 'POST', + short: this.$route.params.short, + data: {"task_token": this.$route.query.task_token} + }) } }, download() { diff --git a/fir_client/src/components/apps/FirAppInfossecurity.vue b/fir_client/src/components/apps/FirAppInfossecurity.vue index 2f7e870..ddce1a0 100644 --- a/fir_client/src/components/apps/FirAppInfossecurity.vue +++ b/fir_client/src/components/apps/FirAppInfossecurity.vue @@ -9,14 +9,169 @@ - - + + + + + + + 当存在指定授权码,授权码长度和生成数量被禁用 + + + + + 授权码长度为4-32之间 + + + + + 单次最多可生成1024个 + + + + + 0表示不限使用次数 + + + + + 取消 + 生成 + + + + + + + + 搜索 + + +
+ + 生成下载授权码 + + 清空所有授权码 + 清理无效授权码 + 清理选中授权码 + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + 关闭 + + +
+ + +
{{ passwordtip.msg }}
- 修改 + 查看配置下载授权码
- 设置密码之后,用户需要输入密码才可以下载该应用 + + 查看配置下载授权码 + 设置授权码之后,用户需要输入授权码才可以下载该应用 +
@@ -93,9 +253,10 @@ diff --git a/fir_client/src/components/apps/FirAppInfostimeline.vue b/fir_client/src/components/apps/FirAppInfostimeline.vue index 77fe0cf..2157cfe 100644 --- a/fir_client/src/components/apps/FirAppInfostimeline.vue +++ b/fir_client/src/components/apps/FirAppInfostimeline.vue @@ -103,7 +103,7 @@