修复热部署引起Null

pull/38/head
RuoYi 2018-11-19 18:05:44 +08:00
parent bcb7ba19f9
commit b0495c23a6
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ public class BaseController
public SysUser getSysUser()
{
return (SysUser) ShiroUtils.getSession().getAttribute("sysUser");
return ShiroUtils.getSysUser();
}
public void setSysUser(SysUser user)