From 0f536fb33732bb30ca872ec77efbbc29a87548cb Mon Sep 17 00:00:00 2001 From: shibanglin Date: Tue, 7 Mar 2023 11:32:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=A4=B1=E8=B4=A5=E6=97=A0?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E7=9A=84=E5=8A=9F=E8=83=BD=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/app/routes/passport/login/login.component.ts | 2 +- .../maxkey-web-mgt-app/src/environments/environment.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/login/login.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/login/login.component.ts index 30677a14f..16c43b637 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/login/login.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/login/login.component.ts @@ -161,7 +161,7 @@ export class UserLoginComponent implements OnInit, OnDestroy { .subscribe(res => { this.loading = true; if (res.code !== 0) { - this.error = res.msg; + this.error = res.message; //this.msg.success(`登录失败,请重新登录!`); this.getImageCaptcha(); } else { diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/environments/environment.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/environments/environment.ts index 3f3c76084..f55de3e68 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/environments/environment.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/environments/environment.ts @@ -27,7 +27,7 @@ export const environment = { production: false, useHash: true, api: { - baseUrl: 'http://sso.maxkey.top:9526/maxkey-mgt-api/', + baseUrl: '/maxkey-mgt-api', refreshTokenEnabled: true, refreshTokenType: 're-request' }, -- GitLab