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

This commit is contained in:
2026-08-10 16:32:47 +09:00
parent 0736bc7615
commit bde9c33da0
2 changed files with 22 additions and 10 deletions

View File

@@ -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;