feat: 认证key兼容处理
This commit is contained in:
@@ -157,7 +157,7 @@ export const keysApi = {
|
||||
|
||||
const params = new URLSearchParams({
|
||||
group_id: groupId.toString(),
|
||||
auth_key: authKey,
|
||||
key: authKey,
|
||||
});
|
||||
|
||||
if (status !== "all") {
|
||||
|
@@ -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()}`;
|
||||
|
||||
|
Reference in New Issue
Block a user