2023-06-21 15:10 API KEY 사용자 생성 수정

This commit is contained in:
myname 2023-06-21 15:11:14 +09:00
parent 24067b9d67
commit 10bf899c93

View File

@ -577,7 +577,7 @@ public class ApiKeyMngController {
*/
@RequestMapping(value = {"/uss/ion/apikey/UserAPIInsertAPIKEYAjax.do"})
public ModelAndView UserAPIInsertAPIKEYAjax(
//@RequestParam("mberId") String p_mberId,
@RequestParam("mberId") String p_mberId,
Model model) throws Exception {
ModelAndView modelAndView = new ModelAndView();
@ -588,13 +588,12 @@ public class ApiKeyMngController {
String userId = loginVO == null ? "" : EgovStringUtil.isNullToString(loginVO.getId());
System.out.println("1111111111112");
ApiKeyVO apiKeyVO = new ApiKeyVO();
apiKeyVO.setMberId(userId);
apiKeyVO.setMberId(p_mberId);
apiKeyVO.setUseYn("A");
apiKeyVO.setAccessKey("");
// 생성 없이 신청서만 생성한다.
//난수
/*
String p_make_apikey;
List<ApiKeyVO> resultList = new ArrayList<ApiKeyVO>();
do {
@ -606,7 +605,6 @@ public class ApiKeyMngController {
resultList = apiKeyMngService.selectCheckApiKeyDup(apiKeyVO);
}while(resultList.size()>=1);
*/
//step3.create user and api key
apiKeyVO.setLastUpdusrId(userId);