log insert시
ip 주소 데이터 변경
This commit is contained in:
parent
f4067f3cc9
commit
be4ff425d7
@ -3,6 +3,8 @@ package itn.let.sym.log.clg.service;
|
||||
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
||||
import itn.com.cmm.LoginVO;
|
||||
|
||||
import java.net.InetAddress;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
/**
|
||||
@ -47,7 +49,9 @@ public class EgovLoginLogAspect {
|
||||
LoginVO user = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
uniqId = user.getUniqId();
|
||||
//uniqId = user.getId();
|
||||
ip = user.getIp();
|
||||
// ip = user.getIp();
|
||||
InetAddress ipAddress = InetAddress.getLocalHost();
|
||||
ip = ipAddress.toString();
|
||||
}
|
||||
|
||||
LoginLog loginLog = new LoginLog();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user