修复登录问题,sidebar修复用户角色的问题

This commit is contained in:
2025-07-28 10:56:59 +08:00
parent 46febb97cb
commit 6727d62272
7 changed files with 43 additions and 35 deletions
+1
View File
@@ -72,6 +72,7 @@ export class OAuthClient {
* @returns 访问令牌响应
*/
async getAccessToken(code: string): Promise<TokenResponse | null> {
console.log('this.config.serverUrl', this.config.serverUrl);
const url = `${this.config.serverUrl}/oauth/token`;
const data = new URLSearchParams({
grant_type: 'authorization_code',