소스 검색

update

tags/Baseline_180220205_Frontend
MSI\derek 11 달 전
부모
커밋
cd40550e20
1개의 변경된 파일18개의 추가작업 그리고 2개의 파일을 삭제
  1. +18
    -2
      src/app/api/mail/actions.ts

+ 18
- 2
src/app/api/mail/actions.ts 파일 보기

@@ -17,8 +17,24 @@ export const saveMail = async (data: MailSave) => {
});
};

export const testMail = async () => {
return serverFetchWithNoContent(`${BASE_API_URL}/mails/test`, {
export const testEveryone = async () => {
return serverFetchWithNoContent(`${BASE_API_URL}/mails/testEveryone`, {
method: "GET",
// body: JSON.stringify(data),
headers: { "Content-Type": "application/json" },
});
};

export const test7th = async () => {
return serverFetchWithNoContent(`${BASE_API_URL}/mails/test7th`, {
method: "GET",
// body: JSON.stringify(data),
headers: { "Content-Type": "application/json" },
});
};

export const test15th = async () => {
return serverFetchWithNoContent(`${BASE_API_URL}/mails/test15th`, {
method: "GET",
// body: JSON.stringify(data),
headers: { "Content-Type": "application/json" },


불러오는 중...
취소
저장