优化代码

This commit is contained in:
none
2023-03-24 15:03:17 +08:00
parent 639f3065a2
commit de6a9718f4
11 changed files with 16 additions and 16 deletions

View File

@@ -42,11 +42,11 @@ public class BCtx {
THREAD_LOCAL.remove();
}
public static Integer getAdminUserID() {
public static Integer getId() {
return (Integer) get(KEY_ADMIN_USER_ID);
}
public static void setAdminUserId(Integer userId) {
public static void setId(Integer userId) {
put(KEY_ADMIN_USER_ID, userId);
}