修复UserInfo获取country问题

This commit is contained in:
Looly
2023-07-19 15:51:39 +08:00
parent aab5ba5098
commit f7a8c64f52
2 changed files with 3 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ public class UserInfo implements Serializable{
// JDK1.4 {@code user.country}JDK1.2 {@code user.region}
String userCountry = SystemUtil.get("user.country", false);
if(null == userCountry){
userCountry = SystemUtil.get("user.country", false);
userCountry = SystemUtil.get("user.region", false);
}
USER_COUNTRY = userCountry;
}