瀏覽代碼

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" },


Loading…
取消
儲存