mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-03-10 18:56:51 +08:00
update userid default value
This commit is contained in:
@@ -53,7 +53,7 @@ public class SecurityContextHolder
|
||||
|
||||
public static Long getUserId()
|
||||
{
|
||||
return Convert.toLong(get(SecurityConstants.DETAILS_USER_ID), 0L);
|
||||
return Convert.toLong(get(SecurityConstants.DETAILS_USER_ID), null);
|
||||
}
|
||||
|
||||
public static void setUserId(String account)
|
||||
|
||||
Reference in New Issue
Block a user