微调
This commit is contained in:
@@ -67,7 +67,7 @@ public class RequestUtil {
|
||||
String username = null;
|
||||
if (StrUtil.isNotBlank(userJson)) {
|
||||
JSONObject obj = JSONUtil.parseObj(userJson);
|
||||
username = obj.getStr("username");
|
||||
username = obj.getStr(SecurityConstants.USER_NAME_KEY);
|
||||
}
|
||||
return username;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user