add 新增 翻译组件 用户昵称翻译实现

This commit is contained in:
疯狂的狮子Li
2023-11-30 13:13:50 +08:00
parent cb9a3c36e6
commit 7dde869eba
6 changed files with 54 additions and 0 deletions

View File

@ -40,6 +40,11 @@ public interface CacheNames {
*/
String SYS_USER_NAME = "sys_user_name#30d";
/**
* 用户名称
*/
String SYS_NICKNAME = "sys_nickname#30d";
/**
* 部门
*/

View File

@ -15,4 +15,12 @@ public interface UserService {
*/
String selectUserNameById(Long userId);
/**
* 通过用户ID查询用户账户
*
* @param userId 用户ID
* @return 用户账户
*/
String selectNicknameById(Long userId);
}