mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 20:35:35 +08:00
优化代码
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user