public class SystemCurrentUserIP
extends java.lang.Object
| Constructor and Description |
|---|
SystemCurrentUserIP() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getIP()
获得系统当前登录用户IP
|
static void |
setIP()
将系统当前登录用户IP存入session中,key值为Class:
SystemConstant
.OPERATEIP |