原来代码只从request header中获取用户名和用户ID,本PR增强了这段逻辑,在header获取不到的情况下,从threadlocal中获取。
git checkout master
git pull https://gitee.com/malcolmshen/ace-security.git master
git push origin master