dlab : kgcert를 inicert로 수정, 문구 kg -> ini로 수정

This commit is contained in:
projectSylas
2021-12-21 07:41:14 +00:00
parent bc8162f7fe
commit 72e041db10
20 changed files with 26 additions and 27 deletions

View File

@ -29,15 +29,15 @@ if ($_POST["resultCode"] === "0000") {
if($res_data['resultCode'] === "0000") {
@insert_cert_history($member['mb_id'], 'kg', 'sa'); // 인증성공 시 내역 기록
$cert_type = 'sa'; // 인증타입
$cert_no = $res_data['txId']; // 이니시스 트랜잭션 ID
$phone_no = $res_data['userPhone']; // 전화번호
$user_name = $res_data['userName']; // 이름
$birth_day = $res_data['userBirthday']; // 생년월일
$ci = $res_data['userCi']; // CI
@insert_cert_history($member['mb_id'], 'inicis', $cert_type); // 인증성공 시 내역 기록
if(!$phone_no)
alert_close("정상적인 인증이 아닙니다. 올바른 방법으로 이용해 주세요.");

View File

@ -44,10 +44,10 @@ if($flgFixedUser == 'Y') {
switch($_GET['pageType']) {
case "register":
$resultPage = "/kg_result.php";
$resultPage = "/ini_result.php";
break;
case "find":
$resultPage = "/kg_find_result.php";
$resultPage = "/ini_find_result.php";
break;
default:
alert_close('잘못된 접근입니다.');

View File

@ -31,16 +31,15 @@ if ($_POST["resultCode"] === "0000") {
// echo $response;
if($res_data['resultCode'] === "0000") {
@insert_cert_history($member['mb_id'], 'kg', 'sa'); // 인증성공 시 내역 기록
$cert_type = 'sa'; // 인증타입
$cert_no = $res_data['txId']; // 이니시스 트랜잭션 ID
$phone_no = $res_data['userPhone']; // 전화번호
$user_name = $res_data['userName']; // 이름
$birth_day = $res_data['userBirthday']; // 생년월일
$ci = $res_data['userCi']; // CI
@insert_cert_history($member['mb_id'], 'inicis', $cert_type); // 인증성공 시 내역 기록
if(!$phone_no)
alert_close("정상적인 인증이 아닙니다. 올바른 방법으로 이용해 주세요.");
@ -51,7 +50,7 @@ if ($_POST["resultCode"] === "0000") {
$sql = " select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_dupinfo = '{$mb_dupinfo}' ";
$row = sql_fetch($sql);
if (!empty($row['mb_id'])) {
alert_close("입력하신 본인확인 정보로 가입된 내역이 존재합니다.\\n회원아이디 : ".$row['mb_id']);
alert_close("입력하신 본인확인 정보로 이미 가입된 내역이 존재합니다.\\n회원아이디 : ".$row['mb_id']);
}
// hash 데이터