mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
修复UserInfo获取country问题
This commit is contained in:
parent
808d48a9fb
commit
1e7e9dfee2
@ -41,7 +41,7 @@ public class UserInfo implements Serializable{
|
|||||||
// JDK1.4 {@code user.country},JDK1.2 {@code user.region}
|
// JDK1.4 {@code user.country},JDK1.2 {@code user.region}
|
||||||
String userCountry = SystemUtil.get("user.country", false);
|
String userCountry = SystemUtil.get("user.country", false);
|
||||||
if(null == userCountry){
|
if(null == userCountry){
|
||||||
userCountry = SystemUtil.get("user.country", false);
|
userCountry = SystemUtil.get("user.region", false);
|
||||||
}
|
}
|
||||||
USER_COUNTRY = userCountry;
|
USER_COUNTRY = userCountry;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user