update 优化 为部门角色岗位用户增加一些常用查询方法

This commit is contained in:
疯狂的狮子Li
2024-12-13 00:16:24 +08:00
parent 02ace774a6
commit df3eedf79f
9 changed files with 216 additions and 2 deletions

View File

@@ -88,6 +88,13 @@ public class LoginHelper {
return Convert.toLong(getExtra(USER_KEY));
}
/**
* 获取用户id
*/
public static String getUserIdStr() {
return Convert.toStr(getExtra(USER_KEY));
}
/**
* 获取用户账户
*/