This commit is contained in:
caozehui
2025-02-24 10:40:29 +08:00
parent b995175113
commit 755900e5da
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}