Add: send mail - update maestro email / id
This commit is contained in:
@@ -109,6 +109,53 @@
|
||||
);
|
||||
}
|
||||
|
||||
function sendMailUpdateMaestroName() {
|
||||
var maestroNamePrev = "삼화초전전전";
|
||||
var maestroName = "삼화초후후후";
|
||||
var email = "jisangs@daum.net";
|
||||
|
||||
sendRequestServer( //url, sendParams, onSuccess, onFail, isDebugMode);
|
||||
// "./../server/mail/send_mail_bank_info.php",
|
||||
"./../server/mail/send_mail_test.php",
|
||||
"type=sendMailUpdateMaestroName" + "&maestro_name=" + maestroName + "&maestro_name_prev=" + maestroNamePrev + "&email=" + email,
|
||||
|
||||
function(jsonData) {
|
||||
console.log(jsonData);
|
||||
// showErrorMessage("마에스트로 계정이 정상적으로 등록되었습니다.", "success");
|
||||
// loadMaestroList("");
|
||||
},
|
||||
|
||||
function(errorMessage, errorCode) {
|
||||
showErrorMessage(errorMessage, "error");
|
||||
}
|
||||
|
||||
);
|
||||
}
|
||||
|
||||
function sendMailUpdateMaestroEmail() {
|
||||
var maestroName = "삼화초";
|
||||
var emailPrev = "jisangs@daum.net";
|
||||
var email = encodeURIComponent("support+chocomae.automail@jinaju.com"); // "jisangs@gmail.com";
|
||||
|
||||
sendRequestServer( //url, sendParams, onSuccess, onFail, isDebugMode);
|
||||
// "./../server/mail/send_mail_bank_info.php",
|
||||
"./../server/mail/send_mail_test.php",
|
||||
"type=sendMailUpdateMaestroEmail" + "&maestro_name=" + maestroName + "&email=" + email + "&email_prev=" + emailPrev,
|
||||
|
||||
function(jsonData) {
|
||||
console.log(jsonData);
|
||||
// showErrorMessage("마에스트로 계정이 정상적으로 등록되었습니다.", "success");
|
||||
// loadMaestroList("");
|
||||
},
|
||||
|
||||
function(errorMessage, errorCode) {
|
||||
showErrorMessage(errorMessage, "error");
|
||||
}
|
||||
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
function getMaestroData() {
|
||||
var maestroID = 1;
|
||||
var maestroName = "삼화초";
|
||||
@@ -162,6 +209,12 @@
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
<button type="button" class="btn btn-primary" onClick="sendMailUpdateMaestroName()">[ 마에 ] 정보 변경 - 아이디</button>
|
||||
|
||||
<button type="button" class="btn btn-primary" onClick="sendMailUpdateMaestroEmail()">[ 마에 ] 정보 변경 - 이메일</button>
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
<button type="button" class="btn btn-secondary" onClick="getMaestroData()">마에스트로 데이터 테스트</button>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user