mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-30 06:19:45 +08:00
👽️ 由于Gt4配置变更,修复极验未正确触发
This commit is contained in:
11
src/types/BBS/Geetest.d.ts
vendored
11
src/types/BBS/Geetest.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* 极验验证相关类型定义文件
|
||||
* @since Beta v0.8.7
|
||||
* @since Beta v0.9.5
|
||||
*/
|
||||
|
||||
declare namespace TGApp.BBS.Geetest {
|
||||
@@ -90,7 +90,7 @@ declare namespace TGApp.BBS.Geetest {
|
||||
|
||||
/**
|
||||
* 初始化 Gt4 验证的请求参数
|
||||
* @since Beta v0.8.7
|
||||
* @since Beta v0.9.5
|
||||
*/
|
||||
type InitGeetest4Params = {
|
||||
/** 验证ID */
|
||||
@@ -107,6 +107,13 @@ declare namespace TGApp.BBS.Geetest {
|
||||
lang: string;
|
||||
/** 协议头 */
|
||||
protocol: string;
|
||||
/**
|
||||
* 使用 https 协议
|
||||
* @remarks 改配置在部署文档中未提及但是在 js 中具有
|
||||
* - 部署文档:https://docs.geetest.com/gt4/apirefer/api/web#%E9%85%8D%E7%BD%AE%E5%8F%82%E6%95%B0
|
||||
* - JS: https://static.geetest.com/v4/gt4.js
|
||||
*/
|
||||
https: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user