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