• 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_gitsrcmainjavaitnletmailwebMailTemplateRestController.java
Download as .zip file
File name
Commit message
Commit date
DATABASE
mjon_git
2023-06-12
src/main
주소록 대량등록 치환문자 바이트수 계산로직 수정
2023-07-20
.codetogether.ignore
mjon_git
2023-06-12
.gitignore
gitignore 적용
2023-06-12
pom.xml
mjon_git
2023-06-12
File name
Commit message
Commit date
java
주소록 대량등록 치환문자 바이트수 계산로직 수정
2023-07-20
resources
등급제 환불관련 로직 추가
2023-07-19
webapp
회원 담당자 정보 변경시 재직증명서 첨부화면 노출되도록 수정
2023-07-20
File name
Commit message
Commit date
egovframework
mjon_git
2023-06-12
itn
주소록 대량등록 치환문자 바이트수 계산로직 수정
2023-07-20
File name
Commit message
Commit date
com
이지우 - XSS 필터링 처리 : 기존 인터셉터 정규식 수정, 사용자 게시글 상세에 unscript 적용
2023-07-18
let
주소록 대량등록 치환문자 바이트수 계산로직 수정
2023-07-20
web
이준호 문자온 커밋
2023-07-12
File name
Commit message
Commit date
cop
이지우 - XSS 필터링 처리 : 기존 인터셉터 정규식 수정, 사용자 게시글 상세에 unscript 적용
2023-07-18
crypto/web
mjon_git
2023-06-12
fax
팩스 발송내역 상세 페이징 오류 수정
2023-07-17
hangulparser
mjon_git
2023-06-12
kakao
알림톡 슬랙 메시지 등록 기능 추가
2023-07-10
komoran
mjon_git
2023-06-12
lett
mjon_git
2023-06-12
mail
휴면회원 SMS발송 기능 추가 작업중
2023-07-18
main
대시보드 관리자 로그관리 성능개선
2023-07-19
mjo
주소록 대량등록 치환문자 바이트수 계산로직 수정
2023-07-20
module/base
mjon_git
2023-06-12
org
mjon_git
2023-06-12
schdlr/service
첫결제 스미싱의심 지정기능 추가(휴대폰, 전용계좌)
2023-07-10
sec
mjon_git
2023-06-12
solr
mjon_git
2023-06-12
sts
mjon_git
2023-06-12
sym
등급제 환불관련 로직 추가
2023-07-19
uat
문자발송화면에 등급제 기능 추가
2023-07-18
uss
회원상세 등급제 추가
2023-07-18
utl
휴면회원 SMS발송 기능 추가 작업중
2023-07-18
File name
Commit message
Commit date
service
휴면회원 SMS발송 기능 추가 작업중
2023-07-18
web
휴면회원 SMS발송 기능 추가 작업중
2023-07-18
File name
Commit message
Commit date
MailTemplateController.java
휴면회원 SMS발송 기능 추가 작업중
2023-07-18
MailTemplateRestController.java
mjon_git
2023-06-12
hylee 2023-06-12 b51956b mjon_git UNIX
Raw Open in browser Change history
package itn.let.mail.web; import javax.annotation.Resource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.ResponseEntity; import org.springframework.util.MultiValueMap; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.multipart.MultipartFile; import itn.let.mail.service.EmailItnVO; import itn.let.mail.service.MailTemplateService; import itn.let.mail.service.StatusResponse; /** * * @packageName : itn.let.mail.web * @fileName : MailTemplateRestController.java * @author : 이호영 * @date : 2022.07.05 * @description : iten 홈페이지에서 채용공고 메일 보내는 컨트롤러 * =========================================================== * DATE AUTHOR NOTE * ----------------------------------------------------------- * * 2022.07.05 이호영 최초 생성 * * * */ @RestController //@CrossOrigin(origins="*") public class MailTemplateRestController { private static final Logger log = LoggerFactory.getLogger(MailTemplateRestController.class); @Resource(name = "MailTemplateService") private MailTemplateService mailTemplateService; /** * @methodName : mailSendItnRecruitFile * @author : 이호영 * @date : 2022.07.05 * @description: api 요청으로 첨부파일 서버 저장 * @param multi * @param request * @param response * @return */ @RequestMapping(value = "/web/itnApi/fileUpload.do", method = RequestMethod.POST) public ResponseEntity<StatusResponse> mailSendItnRecruitFile(@RequestParam("file") MultipartFile multi) { return ResponseEntity.ok().body(mailTemplateService.mailSendItnRecruitFile(multi)); } /** * @methodName : mailSendItnRecruit * @author : 이호영 * @date : 2022.07.05 * @description : * @param emailAttVO * @return * @throws Exception */ @RequestMapping(value = "/web/itnApi/rcrtSendMail.do", method = RequestMethod.GET) public ResponseEntity<StatusResponse> mailSendItnRecruit(@RequestParam MultiValueMap<String, String> emailAttParams) throws Exception { System.out.println("emailAttParams : "+ emailAttParams.toString()); EmailItnVO emailAttVO = new EmailItnVO( emailAttParams.get("fileNm").toString() ,emailAttParams.get("oriFileNm").toString() ,emailAttParams.get("name").toString() ,emailAttParams.get("phone").toString() ,emailAttParams.get("email").toString() ,emailAttParams.get("portfolio").toString() ,emailAttParams.get("field").toString() ,emailAttParams.get("content").toString() ); return ResponseEntity.ok().body(mailTemplateService.mailSendItnRecruit(emailAttVO)); } /** * @methodName : mailSendItnRecruit * @author : hylee * @date : 2022.07.08 * @description : * @param emailAttVO * @return * @throws Exception */ @RequestMapping(value = "/web/itnApi/contactUsSendMail.do", method = RequestMethod.GET) public ResponseEntity<StatusResponse> mailSendItnContactUs(@RequestParam MultiValueMap<String, String> emailAttParams) throws Exception { System.out.println("emailItnVO.getOriFileNm() :: ["+emailAttParams+"]"); EmailItnVO emailAttVO = new EmailItnVO( emailAttParams.get("fileNm").toString() ,emailAttParams.get("oriFileNm").toString() ,emailAttParams.get("title").toString() ,emailAttParams.get("name").toString() ,emailAttParams.get("email").toString() ,emailAttParams.get("content").toString() ); return ResponseEntity.ok().body(mailTemplateService.mailSendItnContactUs(emailAttVO)); } }

          
        
    
    
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