diff --git a/src/pages/_Test/index.js b/src/pages/_Test/index.js index 8d29fb6..19b84b6 100644 --- a/src/pages/_Test/index.js +++ b/src/pages/_Test/index.js @@ -42,6 +42,7 @@ const Mail = () => { url: apiPath + "/test/send-mail", params: { email: values.email, + tempKey: values.tempKey }, onSuccess: function () { setResponsText("Success"); @@ -77,6 +78,25 @@ const Mail = () => { }); } + const testDaily_checkDNStatus=()=>{ + HttpUtils.post({ + url: apiPath + "/test/daily_checkDNStatus", + onSuccess: function () { + setResponsText("Success"); + setIsResponsPopUp(true); + }, + onFail: (response) => { + setResponsText("Fail: " + response); + setIsResponsPopUp(true); + }, + onError: (error) => { + setResponsText("Error: " + error); + setIsResponsPopUp(true); + } + }); + } + + return ( !JSON.parse(localStorage.getItem('userData')).fullenName == "2fi" ? @@ -103,6 +123,17 @@ const Mail = () => { onChange={formik.handleChange} /> + + + + + Set DN Reminder Expect send Date + + +