• Y
  • List All
  • Feedback
    • This Project
    • All Projects
Profile Account settings Log out
  • Favorite
  • Project
  • All
Loading...
  • Log in
  • Sign up
chominsoo4245 / mjon_git star
Forked from hylee / mjon_git
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB
  • Files
  • Commit
  • Branches
mjon_gitsrcmainjavaitnletuatuiawebEgovMypageRESTAPIController.java
Download as .zip file
File name
Commit message
Commit date
DATABASE
mjon_git
2023-06-12
src/main
Merge branch 'master' into 4891_발송결과_속도개선
2025-02-05
.codetogether.ignore
mjon_git
2023-06-12
.gitignore
gitignore 적용
2023-06-12
pom.xml
문자전송개선 테스트
2024-11-27
File name
Commit message
Commit date
java
Merge branch 'master' into 4891_발송결과_속도개선
2025-02-05
resources
발송결과 상세화면 진행중
2025-02-05
webapp
Merge branch 'master' into 4891_발송결과_속도개선
2025-02-05
File name
Commit message
Commit date
egovframework
custom idgen 수정
2024-11-27
itn
Merge branch 'master' into 4891_발송결과_속도개선
2025-02-05
File name
Commit message
Commit date
com
발송결과 페이지 개선중
2025-01-17
let
Merge branch 'master' into 4891_발송결과_속도개선
2025-02-05
web
변경
2024-11-21
File name
Commit message
Commit date
cert
테스트서버에서 로그인 인증번호 발송 시 테스트슬랙알림채널로 발송
2025-01-16
cmm/vo
문자전송 진행중
2025-01-20
cop
이용약관 > 불법스팸방지정책 페이지 수정
2024-11-26
crypto/web
mjon_git
2023-06-12
fax
문자, 팩스발송 주소록 불러오기 완료
2024-12-24
hangulparser
mjon_git
2023-06-12
kakao
알림톡 슬랙 노출 안되는 부분 수정
2025-01-16
komoran
mjon_git
2023-06-12
lett
선택한 그림문자의 우선선위 변경 기능 추가
2023-09-05
mail
문자발송로직 impl 화 완료 -> 리펙토링 진행 중
2024-09-27
main
2024-11-22 10:51 과부하 쿼리 주석처리
2024-11-22
mjo
Merge branch 'master' into 4891_발송결과_속도개선
2025-02-05
module/base
이벤트 결제관련 오류처리
2025-01-24
org
mjon_git
2023-06-12
schdlr/service
문자발송로직 > 이벤트 체크
2024-12-23
sec
mjon_git
2023-06-12
solr
mjon_git
2023-06-12
sts
mjon_git
2023-06-12
sym
팩스 속도 개선
2024-12-17
uat
테스트서버에서 로그인 인증번호 발송 시 테스트슬랙알림채널로 발송
2025-01-16
uss
발송결과 리스트 화면 완료
2025-01-23
utl
회원 이메일 발송 건수 15분 단위로 기존 200건 -> 500건으로 변경
2024-10-25
File name
Commit message
Commit date
uap
mjon_git
2023-06-12
uia
테스트서버에서 로그인 인증번호 발송 시 테스트슬랙알림채널로 발송
2025-01-16
File name
Commit message
Commit date
service
보안로그인 최근변경 날짜 추가
2024-11-22
web
테스트서버에서 로그인 인증번호 발송 시 테스트슬랙알림채널로 발송
2025-01-16
File name
Commit message
Commit date
ClientIP.java
이준호 문자온 커밋 - IP 받아오는 방식 수정
2023-07-28
EgovLoginController.java
테스트서버에서 로그인 인증번호 발송 시 테스트슬랙알림채널로 발송
2025-01-16
EgovMypageController.java
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git
2024-11-22
EgovMypageRESTAPIController.java
utils 정리중
2024-07-05
EmailVO.java
mjon_git
2023-06-12
KmcCertChecker.java
본인인증 LOG 추가
2024-11-22
SMTPAuthenticator.java
mjon_git
2023-06-12
SendLogVO.java
mjon_git
2023-06-12
SendMail.java
mjon_git
2023-06-12
UserCheckController.java
mjon_git
2023-06-12
hylee 2024-07-05 4b35490 utils 정리중 UNIX
Raw Open in browser Change history
package itn.let.uat.uia.web; import java.text.ParseException; import java.util.ArrayList; import java.util.List; import javax.annotation.Resource; import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.servlet.ModelAndView; import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper; import itn.com.cmm.LoginVO; import itn.com.cmm.util.DateUtils; import itn.com.utl.fcc.service.EgovStringUtil; import itn.let.mjo.apikey.service.ApiCallInfoMngService; import itn.let.mjo.apikey.service.ApiKeyMngService; import itn.let.mjo.apikey.service.ApiKeyVO; import itn.let.utl.user.service.SecuKeyUtil; /** * 일반 로그인, 인증서 로그인을 처리하는 컨트롤러 클래스 * * @author 공통서비스 개발팀 박지욱 * @since 2009.03.06 * @version 1.0 * @see * * <pre> * << 개정이력(Modification Information) >> * * 수정일 수정자 수정내용 * ------- -------- --------------------------- * 2009.03.06 박지욱 최초 생성 * 2011.08.31 JJY 경량환경 템플릿 커스터마이징버전 생성 * * </pre> */ @Controller public class EgovMypageRESTAPIController{ //api key 정보 @Resource(name = "apiKeyMngService") private ApiKeyMngService apiKeyMngService; //api call info 정보 @Resource(name = "apiCallInfoMngService") private ApiCallInfoMngService apiCallInfoMngService; /** * 비밀번호 변경 페이지 */ @RequestMapping(value="/web/api/sendRESTAPI_test_r1.do") public String sendRESTAPI_test(ModelMap model) throws Exception { /*LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();*/ LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; if(loginVO == null) { return "redirect:/web/user/login/login.do"; } model.addAttribute("loginVO", loginVO); model.addAttribute("pageTab", "passwordChange"); return "web/api/sendRESTAPI_test_r1"; } /** * 비밀번호 변경 페이지 */ @RequestMapping(value="/web/api/sendRESTAPI_test_r12.do") public String sendRESTAPI_test_r12(ModelMap model) throws Exception { /*LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();*/ LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; if(loginVO == null) { return "redirect:/web/user/login/login.do"; } model.addAttribute("loginVO", loginVO); model.addAttribute("pageTab", "passwordChange"); return "web/api/sendRESTAPI_test_r12"; } /** * 비밀번호 변경 페이지 */ @RequestMapping(value="/web/user/sendRESTAPI_test_r1_send.do") public String sendRESTAPI_test_r1_send(ModelMap model) throws Exception { /*LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();*/ LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; if(loginVO == null) { return "redirect:/web/user/login/login.do"; } model.addAttribute("loginVO", loginVO); model.addAttribute("pageTab", "passwordChange"); return "web/api/sendRESTAPI_test_r1_send"; } /** * @methodName : sendRESTAPI_send_r2 * @author : 이호영 * @date : 2023.05.23 * @description : [문자 발송] 같은 내용으로 여려명에게 보냄 * @param model * @return * @throws Exception */ @RequestMapping(value="/web/api/sendRESTAPI_send_r2.do") public String sendRESTAPI_send_r2(ModelMap model) throws Exception { /*LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();*/ LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; if(loginVO == null) { return "redirect:/web/user/login/login.do"; } model.addAttribute("loginVO", loginVO); model.addAttribute("pageTab", "passwordChange"); return "web/api/sendRESTAPI_send_r2"; } /** * @methodName : sendRESTAPI_send_r3 * @author : 이호영 * @date : 2023.05.23 * @description : 수신자별 다른 내용으로 최대 500명에게 보냄 * @param model * @return * @throws Exception */ @RequestMapping(value="/web/api/sendRESTAPI_send_r3.do") public String sendRESTAPI_send_r3(ModelMap model) throws Exception { /*LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();*/ LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; if(loginVO == null) { return "redirect:/web/user/login/login.do"; } model.addAttribute("loginVO", loginVO); model.addAttribute("pageTab", "passwordChange"); return "web/api/sendRESTAPI_send_r3"; } /** * @param model * @return * @throws Exception */ @RequestMapping(value="/web/api/intrdView.do") public String intrdView(ModelMap model) throws Exception { LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; if(loginVO == null) { return "redirect:/web/user/login/login.do"; } model.addAttribute("loginVO", loginVO); return "web/api/intrdView"; } /** * @param model * @return * @throws Exception */ @RequestMapping(value="/web/api/appMgmt.do") public String appMgmt(ModelMap model) throws Exception { LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; if(loginVO == null) { return "redirect:/web/user/login/login.do"; } model.addAttribute("loginVO", loginVO); //사용자 신청/인증 정보 ApiKeyVO apiKeyVO = new ApiKeyVO(); apiKeyVO.setMberId(loginVO.getId()); model.addAttribute("mberId", loginVO.getId()); List<ApiKeyVO> resultList = new ArrayList<ApiKeyVO>(); resultList = apiKeyMngService.selectApiKeyApplyStatus(apiKeyVO); System.out.println("============="); if (resultList.size()>0) { if(StringUtils.isNotEmpty(resultList.get(0).getFrstRegistPnttm())) { resultList.get(0).setFrstRegistPnttm(DateUtils.getChangFormatS(resultList.get(0).getFrstRegistPnttm())); resultList.get(0).setLastUpdtPnttm(DateUtils.getChangFormatS(resultList.get(0).getLastUpdtPnttm())); } model.addAttribute("apiVO", resultList.get(0)); apiKeyVO.setAccessNo(resultList.get(0).getAccessNo()); //api call info 정보 List<ApiKeyVO> resultList_call = new ArrayList<ApiKeyVO>(); resultList_call = apiCallInfoMngService.selectMberApiCallInfoList(apiKeyVO); System.out.println("!!!!!!!!!!!!!!!!!"); resultList_call.forEach(t-> { try { t.setFrstRegistPnttm(DateUtils.getChangFormatS(t.getFrstRegistPnttm())); } catch (ParseException e) { // TODO Auto-generated catch block e.printStackTrace(); } }); model.addAttribute("apiCallInfoVOList", resultList_call); model.addAttribute("apiCallInfoVOListSize", resultList_call.size()); }else { model.addAttribute("apiVO", null); } return "web/api/appMgmt"; } /** * @param model * @return * @throws Exception */ @RequestMapping(value="/web/api/apiSpec.do") public String apiSpec(ModelMap model) throws Exception { LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; if(loginVO == null) { return "redirect:/web/user/login/login.do"; } model.addAttribute("loginVO", loginVO); return "web/api/apiSpec"; } /** * @param model * @return * @throws Exception */ @RequestMapping(value="/web/api/examDown.do") public String examDown(ModelMap model) throws Exception { LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; if(loginVO == null) { return "redirect:/web/user/login/login.do"; } model.addAttribute("loginVO", loginVO); return "web/api/examDown"; } }

          
        
    
    
Copyright Yona authors & © NAVER Corp. & NAVER LABS Supported by NAVER CLOUD PLATFORM

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up