change author and add skywalking photo

This commit is contained in:
zlt
2019-02-27 14:29:37 +08:00
parent 14439a0b42
commit d72a6d163e
21 changed files with 56 additions and 30 deletions
@@ -44,7 +44,7 @@ public class UserInfoHeaderFilter extends ZuulFilter {
String userInfo;
if (principal instanceof SysUser) {
SysUser user = (SysUser) principal;
userInfo = user.getUsername() + SecurityConstants.USER_SPLIT + user.getId();
userInfo = user.getUsername();
} else {
//jwt的token只有name
userInfo = authentication.getName();