mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-24 18:04:54 +08:00
修复UserInfo中用户名加/问题
This commit is contained in:
parent
94dc35a2e0
commit
4a545e3f1a
@ -31,8 +31,11 @@ public class UserInfo implements Serializable{
|
||||
private final String USER_LANGUAGE;
|
||||
private final String USER_COUNTRY;
|
||||
|
||||
/**
|
||||
* 构造
|
||||
*/
|
||||
public UserInfo(){
|
||||
USER_NAME = fixPath(SystemUtil.get("user.name", false));
|
||||
USER_NAME = SystemUtil.get("user.name", false);
|
||||
USER_HOME = fixPath(SystemUtil.get("user.home", false));
|
||||
USER_DIR = fixPath(SystemUtil.get("user.dir", false));
|
||||
JAVA_IO_TMPDIR = fixPath(SystemUtil.get("java.io.tmpdir", false));
|
||||
|
Loading…
Reference in New Issue
Block a user