회원 가입 기록을 남기도록 설정

This commit is contained in:
2018-03-10 04:53:24 +09:00
parent 88c560405e
commit d4c75223a8
+12
View File
@@ -152,6 +152,18 @@ getRootDB()->insert('member',[
'name'=>$nickname,
'reg_date'=>$nowDate
]);
$userID = getRootDB()->insertId();
getRootDB()->insert('member_log', [
'member_no'=>$userID,
'date'=>$nowDate,
'action_type'=>'reg',
'action'=>json_encode([
'type'=>'kakao',
'id'=>$kakaoID,
'email'=>$email, 'name'=>$nickname
], JSON_UNESCAPED_UNICODE)
]);
returnJson([
'result'=>true,