Commit feda21cb by chenweisong

更新

parent d1b5fd52
......@@ -21,7 +21,7 @@ public class SessionService {
if (auth != null) {
userName = auth.getName();
String[] info = userName.split(":");
return User.builder().id(Long.parseLong(info[1])).name(info[2]).build();
return User.builder().id(Long.parseLong(info[1])).name(info[0]).build();
} else {
return null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment