From 957cffa0b012b599258d9f1272c05c6be5e5f1cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A1=BE=E5=90=9B=E7=A6=B9?= <2673609096@qq.com> Date: Thu, 4 Sep 2025 22:34:20 +0800 Subject: [PATCH] =?UTF-8?q?farm=E6=A8=A1=E5=9D=97-=E5=B0=8F=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E6=8E=A5=E5=8F=A3=E6=94=BE=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yudao/module/system/service/auth/AdminAuthServiceImpl.java | 2 +- yudao-server/src/main/resources/application.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/auth/AdminAuthServiceImpl.java b/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/auth/AdminAuthServiceImpl.java index 9a5469e1..ce611a53 100644 --- a/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/auth/AdminAuthServiceImpl.java +++ b/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/auth/AdminAuthServiceImpl.java @@ -357,7 +357,7 @@ public class AdminAuthServiceImpl implements AdminAuthService { user.setOpenid(reqVO.getOpenid()); userService.updateByid(user); - return createTokenAfterLoginSuccess(user.getId(), user.getUsername(), LoginLogTypeEnum.LOGIN_USERNAME); + return createTokenAfterLoginSuccess(user.getId(), user.getUsername(), LoginLogTypeEnum.LOGIN_SOCIAL); } catch (Exception e) { log.error("[getPhoneNumber][解密手机号失败,encryptedData: {}, sessionKey: {}, iv: {}]", reqVO.getEncryptedData(), reqVO.getSessionKey(), reqVO.getIv(), e); diff --git a/yudao-server/src/main/resources/application.yaml b/yudao-server/src/main/resources/application.yaml index e47c9d88..cbb362ba 100644 --- a/yudao-server/src/main/resources/application.yaml +++ b/yudao-server/src/main/resources/application.yaml @@ -277,6 +277,9 @@ yudao: enable: true ignore-urls: - /jmreport/* # 积木报表,无法携带租户编号 + - /admin-api/system/auth/get-access-token + - /admin-api/system/auth/get-session + - /admin-api/system/auth/get-phone-number ignore-visit-urls: - /admin-api/system/user/profile/** - /admin-api/system/auth/**