260810_01_ENH: 뒤로가기 및 contact start 요청 수정

This commit is contained in:
2026-08-10 16:32:28 +09:00
parent 6b4452736d
commit 166e2d8e6c
2 changed files with 21 additions and 9 deletions

View File

@@ -9,15 +9,18 @@
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"
API_URL = CONTACT_URL & SURVEY_PARAM
SURVEY_PARAM = "?psidx=" & Server.URLEncode(CONTACTPID) _
& "&sid=" & Server.URLEncode(IDKEY)
API_URL = CONTACT_URL & SURVEY_PARAM
End If
' 카카오뱅크 URL에서 KABANGID 추출
If KABANGID <> "" Then
@@ -124,12 +127,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;