본인인증 정보
@php
$pv = (array) session('register.pass_payload', []);
$pvName = $pv['NAME'] ?? '-';
$pvBirth = $pv['DOB'] ?? null; // YYYYMMDD
$pvSex = $pv['SEX'] ?? null; // 1/2 등
$pvNation = $pv['FOREIGNER'] ?? null; // 0/1
$pvTelco = $pv['CARRIER'] ?? (session('signup.carrier') ?? '-'); // SKT/KT/LGU+ 또는 코드
$pvPhone = $pv['PHONE'] ?? (session('signup.phone') ?? '-');
// 표시용 변환(성별/내외국인)
$pvSexText = match((string)$pvSex) {
'1' => '남',
'2' => '여',
default => ($pvSex ?? '-'),
};
$pvNationText = match((string)$pvNation) {
'0' => '내국인',
'1' => '외국인',
default => ($pvNation ?? '-'),
};
// 생년월일 포맷
$pvBirthText = '-';
if (is_string($pvBirth) && strlen($pvBirth) >= 8) {
$pvBirthText = substr($pvBirth,0,4).'년 '.substr($pvBirth,4,2).'월 '.substr($pvBirth,6,2).'일';
} elseif (!empty($pvBirth)) {
$pvBirthText = (string)$pvBirth;
}
// 휴대폰 포맷(표시용)
$pvPhoneText = (string)$pvPhone;
if (is_string($pvPhone) && preg_match('/^\d{10,11}$/', $pvPhone)) {
$pvPhoneText = substr($pvPhone,0,3).'-'.substr($pvPhone,3,4).'-'.substr($pvPhone,7);
}
@endphp
위 정보가 다르면 인증을 중단하고 처음부터 다시 진행해 주세요.
{{-- 아이디(이메일) --}}