feat: 认证key兼容处理

This commit is contained in:
tbphp
2025-07-22 15:38:55 +08:00
parent 681f0de81c
commit 76fe4d4dd3
8 changed files with 25 additions and 129 deletions

View File

@@ -157,7 +157,7 @@ export const keysApi = {
const params = new URLSearchParams({
group_id: groupId.toString(),
auth_key: authKey,
key: authKey,
});
if (status !== "all") {

View File

@@ -31,7 +31,7 @@ export const logApi = {
{} as Record<string, string>
)
);
queryParams.append("auth_key", authKey);
queryParams.append("key", authKey);
const url = `${http.defaults.baseURL}/logs/export?${queryParams.toString()}`;