mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-03-11 11:16:52 +08:00
update userid default value
This commit is contained in:
@@ -53,7 +53,7 @@ public class SecurityContextHolder
|
|||||||
|
|
||||||
public static Long getUserId()
|
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)
|
public static void setUserId(String account)
|
||||||
|
|||||||
Reference in New Issue
Block a user