fix : 유저 관련 수정

main
이범준 1 year ago
parent 08bbda85fd
commit b8900ed353

@ -856,29 +856,29 @@ public class XitCmmnUtil {
HttpSession session = req.getSession(); HttpSession session = req.getSession();
return (XitLoginVO)session.getAttribute("XitLoginSession"); return (XitLoginVO)session.getAttribute("XitLoginSession");
} }
/** /**
* <pre> : ID .</pre> * <pre> : ID .
* -ID? // .
* </pre>
* @return String * @return String
* @author: * @author:
* @date: 2020. 4. 21. * @date: 2020. 4. 21.
*/ */
public static String getUserId(){ public static String getUserUniqId(){
XitLoginVO loginVO = getUserInfo(); XitLoginVO loginVO = getUserInfo();
return loginVO.getId(); return loginVO.getUniqId();
} }
/** /**
* <pre> : ID . * <pre> : ID .</pre>
* -ID? // .
* </pre>
* @return String * @return String
* @author: * @author:
* @date: 2020. 4. 21. * @date: 2020. 4. 21.
*/ */
public static String getUserUniqId(){ public static String getUserAcnt(){
XitLoginVO loginVO = getUserInfo(); XitLoginVO loginVO = getUserInfo();
return loginVO.getUniqId(); return loginVO.getId();
} }
/** /**

@ -73,7 +73,7 @@ public class PagingConstants {
AUTHORITIES_KEY("role"), AUTHORITIES_KEY("role"),
TOKEN_USER_NAME("userName"), TOKEN_USER_NAME("userName"),
TOKEN_USER_MAIL("userEmail"), TOKEN_USER_MAIL("userEmail"),
TOKEN_USER_ID("userId"); TOKEN_USER_ACNT("userAcnt");
private final String code; private final String code;

Loading…
Cancel
Save