-
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.
feat : private -> private matching request mail auto send 구현
- Loading branch information
Showing
5 changed files
with
88 additions
and
61 deletions.
There are no files selected for viewing
23 changes: 0 additions & 23 deletions
23
src/main/java/liaison/linkit/mail/presentation/MailController.java
This file was deleted.
Oops, something went wrong.
36 changes: 34 additions & 2 deletions
36
src/main/java/liaison/linkit/mail/service/MailService.java
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 |
---|---|---|
@@ -1,6 +1,38 @@ | ||
package liaison.linkit.mail.service; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
public interface MailService { | ||
// 메일 발송 | ||
void sendSimpleMessage(String to)throws Exception; | ||
|
||
// 1. 내 이력서 -> 내 이력서 매칭 요청 보낸 경우 | ||
void mailPrivateToPrivate( | ||
final String receiverName, | ||
final String senderName, | ||
final LocalDateTime requestDate, | ||
final String requestMessage | ||
) throws Exception; | ||
|
||
/* | ||
1. 수신자 이름 - receiverName | ||
2. 발신자 이름 - senderName | ||
3. 매칭 요청 발생 날짜 - requestDate | ||
4. 매칭 요청 보낼 때 메시지 - requestMessage | ||
*/ | ||
|
||
|
||
|
||
|
||
|
||
|
||
// // 2. 내 이력서 -> 팀 소개서 매칭 요청 보낸 경우 | ||
// void mailPrivateToTeam() throws Exception; | ||
// // 3. 팀 소개서 -> 내 이력서 매칭 요청 보낸 경우 | ||
// void mailTeamToPrivate() throws Exception; | ||
// // 4. 팀 소개서 -> 팀 소개서 매칭 요청 보낸 경우 | ||
// void mailTeamToTeam() throws Exception; | ||
// | ||
// // 5. 내 이력서 관련 - 매칭 성사된 경우 | ||
// void mailSuccessPrivate() throws Exception; | ||
// // 6. 팀 소개서 관련 - 매칭 성사된 경우 | ||
// void mailSuccessTeam() throws Exception; | ||
} |
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