perf: 改进api调试页面

This commit is contained in:
MoeFurina
2026-07-11 17:20:14 +08:00
parent 63f669d7f8
commit 35607f5050
5 changed files with 629 additions and 164 deletions
+5
View File
@@ -344,6 +344,11 @@ const createRequest = (uri, data, options) => {
httpsAgent: createHttpsAgent(),
}
// 自定义超时
if (options.timeout > 0) {
settings.timeout = options.timeout
}
// 使用返回值加密
const use_e_r = (crypto === 'eapi' || crypto === 'weapi') && data.e_r
const use_xeapi = crypto === 'xeapi'