카카오로그인을 이용한 가입, 로그인 프로세스 보완

This commit is contained in:
2018-03-18 04:12:37 +09:00
parent be7df8adac
commit b52bd4e4e2
11 changed files with 298 additions and 26 deletions
+5
View File
@@ -39,6 +39,7 @@ class Talk_Path
{
public static $TALK_PROFILE= "/v1/api/talk/profile";
public static $TALK_TO_ME = "/v2/api/talk/memo/send";
public static $TALK_TO_ME_DEFAULT = "/v2/api/talk/memo/default/send";
}
class Push_Notification_Path
@@ -230,6 +231,10 @@ class Kakao_REST_API_Helper
return $this->request(Talk_Path::$TALK_PROFILE);
}
public function talk_to_me_default($req){
return $this->request(TalkPath::$TALK_TO_ME_DEFAULT, json_encode($req), 'POST');
}
///////////////////////////////////////////////////////////////
// API Test