Add: sendMailRegistered, mail php
This commit is contained in:
@@ -1,22 +1,16 @@
|
||||
<?php
|
||||
header("Content-Type: application/json");
|
||||
|
||||
include "./../lib/send_reply_json.php";
|
||||
include "./../setup/connect_db.php";
|
||||
include "./../lib/send_reply_json.php";
|
||||
include "./../lib/maestro_account_info.php";
|
||||
include "./../mail/mail_setting.php";
|
||||
include "./../mail/send_mail.php";
|
||||
|
||||
$maestro_name = $_POST["maestro_name"];
|
||||
$password = $_POST["password"];
|
||||
$email = $_POST["email"];
|
||||
$account_type = $_POST["account_type"];
|
||||
/*
|
||||
if(!is_numeric($enterCode)) {
|
||||
send_error_code("생년월일이 숫자가 아닙니다. : ".$enterCode);
|
||||
exit;
|
||||
} else if(strlen($enterCode) != 6) {
|
||||
send_error_code("6자리 숫자값을 정확히 입력하세요 : YYMMDD (예 : 120131) : ".$enterCode);
|
||||
exit;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
$maestroID = has_maestro_name($maestro_name);
|
||||
@@ -35,7 +29,8 @@ if($maestroID === null) {
|
||||
exit;
|
||||
}
|
||||
|
||||
set_data("maestroList", $maestroList);
|
||||
sendMailBankInfo($maestro_name, $email, $account_type);
|
||||
|
||||
send_result_success();
|
||||
exit;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user