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

This commit is contained in:
疯狂的狮子Li
2024-12-12 23:32:33 +08:00
parent 0027f671d2
commit ab3e4978b1
11 changed files with 164 additions and 3 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));
}
/**
* 获取用户账户
*/