From 339f85741f8e060a1fcb050830494d43bb9d8317 Mon Sep 17 00:00:00 2001 From: Simple <2424585654@qq.com> Date: 星期六, 06 一月 2024 18:20:21 +0800 Subject: [PATCH] fix: LoginHelper类 login方法 存在 重复代码 --- ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/service/UserService.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/service/UserService.java b/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/service/UserService.java index 554e506..d6b312a 100644 --- a/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/service/UserService.java +++ b/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/service/UserService.java @@ -15,4 +15,12 @@ */ String selectUserNameById(Long userId); + /** + * 閫氳繃鐢ㄦ埛ID鏌ヨ鐢ㄦ埛璐︽埛 + * + * @param userId 鐢ㄦ埛ID + * @return 鐢ㄦ埛璐︽埛 + */ + String selectNicknameById(Long userId); + } -- Gitblit v1.9.3