통합인증 : kgcert를 inicert로 수정, 문구 kg -> ini로 수정 기존 인증버튼 여러개 -> 통합인증 하나로 통합

This commit is contained in:
projectSylas
2021-12-22 05:51:24 +00:00
parent 72e041db10
commit 4305e6c8cc
18 changed files with 19 additions and 77 deletions

View File

@ -1,8 +1,6 @@
<?php
include_once('./_common.php');
if($_GET['directAgency'] == "KFTC") alert_close("서비스 준비중입니다.");
$sql = "select MAX(cr_id) as max_cr_id from {$g5['cert_history_table']} limit 1";
$res = sql_fetch($sql);
$max_cr_id = $res['max_cr_id'];
@ -53,7 +51,7 @@ switch($_GET['pageType']) {
alert_close('잘못된 접근입니다.');
}
$resultUrl = G5_KGCERT_URL . $resultPage;
$resultUrl = G5_INICERT_URL . $resultPage;
$g5['title'] = 'KG이니시스 통합인증';
include_once(G5_PATH.'/head.sub.php');
?>

View File

@ -36,8 +36,8 @@ if ($_POST["resultCode"] === "0000") {
$phone_no = $res_data['userPhone']; // 전화번호
$user_name = $res_data['userName']; // 이름
$birth_day = $res_data['userBirthday']; // 생년월일
$ci = $res_data['userCi']; // CI
$ci = $res_data['userCi']; // CI
print_r2($res_data);die;
@insert_cert_history($member['mb_id'], 'inicis', $cert_type); // 인증성공 시 내역 기록
if(!$phone_no)