update 优化统一用户昵称

This commit is contained in:
疯狂的狮子Li
2026-03-10 15:55:08 +08:00
parent 76ed1c259d
commit 3df21f9ecb
17 changed files with 31 additions and 33 deletions

View File

@@ -80,16 +80,16 @@ public interface RemoteUserService {
/**
* 通过用户ID查询用户昵称
*
* @param userId 用户id
* @return 结果
* @param userId 用户ID
* @return 用户昵称
*/
String selectNicknameById(Long userId);
/**
* 通过用户ID查询用户账户
* 通过用户ID查询用户昵称
*
* @param userIds 用户ID 多个用逗号隔开
* @return 用户
* @return 用户
*/
String selectNicknameByIds(String userIds);
@@ -158,11 +158,11 @@ public interface RemoteUserService {
List<RemoteUserVo> selectUsersByPostIds(List<Long> postIds);
/**
* 根据用户 ID 列表查询用户称映射关系
* 根据用户 ID 列表查询用户称映射关系
*
* @param userIds 用户 ID 列表
* @return Map其中 key 为用户 IDvalue 为对应的用户
* @return Map其中 key 为用户 IDvalue 为对应的用户
*/
Map<Long, String> selectUserNamesByIds(List<Long> userIds);
Map<Long, String> selectUserNicksByIds(List<Long> userIds);
}

View File

@@ -29,7 +29,7 @@ public class SysUserOnline implements Serializable {
private String deptName;
/**
* 用户名称
* 用户账号
*/
private String userName;