mirror of https://gitee.com/y_project/RuoYi.git
修复热部署引起Null
parent
bcb7ba19f9
commit
b0495c23a6
|
@ -129,7 +129,7 @@ public class BaseController
|
|||
|
||||
public SysUser getSysUser()
|
||||
{
|
||||
return (SysUser) ShiroUtils.getSession().getAttribute("sysUser");
|
||||
return ShiroUtils.getSysUser();
|
||||
}
|
||||
|
||||
public void setSysUser(SysUser user)
|
||||
|
|
Loading…
Reference in New Issue