-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* user parameter hidden * Bearer만 제시할 때 null 반환 * dummy post에 title 추가 * Categori enum 문자열 출력 & post 더미 데이터 생성 수정
- Loading branch information
Showing
5 changed files
with
36 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ import org.springframework.beans.factory.annotation.Value | |
import org.springframework.data.repository.findByIdOrNull | ||
import org.springframework.stereotype.Service | ||
import org.springframework.transaction.annotation.Transactional | ||
import java.time.format.DateTimeFormatter | ||
|
||
@Service | ||
class ResumeService( | ||
|
@@ -112,7 +113,8 @@ class ResumeService( | |
// 이메일 전송 | ||
try { | ||
emailService.sendEmail( | ||
to = companyEntity.email, | ||
// to = companyEntity.email, | ||
to = "[email protected]", | ||
subject = "[인턴하샤] 지원자 커피챗이 도착하였습니다.", | ||
text = | ||
""" | ||
|
@@ -121,8 +123,10 @@ class ResumeService( | |
- 회사명: ${companyEntity.companyName} | ||
- 회사 이메일: ${companyEntity.email} | ||
- 직무명: ${positionEntity.title} | ||
- 카테고리: ${positionEntity.category} | ||
- 지원 마감일: ${positionEntity.employmentEndDate ?: "정보 없음"} | ||
- 카테고리: ${positionEntity.category.displayName()} | ||
- 지원 마감일: ${positionEntity.employmentEndDate | ||
?.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")) | ||
?: "정보 없음"} | ||
지원자 정보: | ||
- 이름: ${validUser.name} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters