260810_01_ENH: 뒤로가기 및 contact start 요청 수정
This commit is contained in:
@@ -9,16 +9,19 @@
|
||||
Dim UUIDKEY : UUIDKEY = request("uuid")
|
||||
Dim TK : TK = Request("TK")
|
||||
DIM SQL : SQL = ""
|
||||
Dim CONTACT_URL
|
||||
Dim SURVEY_PARAM
|
||||
Dim API_URL
|
||||
CONTACT_URL = "https://contact.kric.com/api/external/start"
|
||||
Dim CONTACT_URL : CONTACT_URL = ""
|
||||
Dim SURVEY_PARAM : SURVEY_PARAM = ""
|
||||
Dim API_URL : API_URL = ""
|
||||
|
||||
SURVEY_PARAM = "?psidx=" & Server.URLEncode(CONTACTPID) _
|
||||
& "&sid=" & Server.URLEncode(IDKEY)
|
||||
IF CONTACTPID <> "" AND IDKEY <> "" AND SURVEYTYPE <> "TEST" Then
|
||||
CONTACT_URL = "https://contact.kric.com/api/external/start"
|
||||
|
||||
SURVEY_PARAM = "?psidx=" & Server.URLEncode(CONTACTPID) _
|
||||
& "&sid=" & Server.URLEncode(IDKEY)
|
||||
|
||||
API_URL = CONTACT_URL & SURVEY_PARAM
|
||||
End If
|
||||
|
||||
API_URL = CONTACT_URL & SURVEY_PARAM
|
||||
|
||||
' 카카오뱅크 URL에서 KABANGID 추출
|
||||
If KABANGID <> "" Then
|
||||
KABANGID = Request("redirect_url")
|
||||
@@ -200,12 +203,14 @@
|
||||
<input name="USERIP" type="hidden" value="<%=ip%>">
|
||||
</form>
|
||||
</body>
|
||||
<% IF API_URL <> "" Then%>
|
||||
<script>
|
||||
fetch("<%= API_URL %>")
|
||||
.then(response => response.json())
|
||||
.then(data => console.log(data))
|
||||
.catch(error => console.error(error));
|
||||
</script>
|
||||
<% END IF %>
|
||||
<script src="./js/hard_func.js?dt=<%=date_time() %>"></script>
|
||||
<script>
|
||||
var login_chk = true;
|
||||
|
||||
Reference in New Issue
Block a user