bug修复

This commit is contained in:
andy
2026-06-22 17:45:59 +08:00
parent 8568c07d9f
commit 9be0fadd69

View File

@@ -9,7 +9,7 @@ export interface OauthTokenRequest {
scope?: string; scope?: string;
mobile?: string; mobile?: string;
code?: string; code?: string;
clientConfigld?: string; clientConfigId?: string;
[property: string]: any; [property: string]: any;
} }
@@ -37,7 +37,7 @@ export async function oauthToken(
const params = buildFormUrlEncodedParams({ const params = buildFormUrlEncodedParams({
...data, ...data,
clientId: data.clientId ?? getRequestContext().clientId ?? "6", clientId: data.clientId ?? getRequestContext().clientId ?? "6",
clientConfigld: data.clientConfigld ?? getRequestContext().clientId ?? "6", clientConfigId: data.clientConfigId ?? getRequestContext().clientId ?? "6",
} as Record<string, unknown>); } as Record<string, unknown>);
const res = await requestRaw<OAuthTokenResponse>( const res = await requestRaw<OAuthTokenResponse>(