Http Adapter Extra Log - Header정보 조회 수정.

This commit is contained in:
Yunsam.Eo
2025-12-05 09:17:10 +09:00
parent 75f3190d11
commit 5ec1965233
3 changed files with 20 additions and 14 deletions
@@ -146,12 +146,12 @@
defaultEditGrid($('#'+gridName), columns, '', 'level', layoutData, 93, ['value']);
}
function selectHttpLog(url, dayOfWeekNumber, guid, serviceProcessNumber){
function selectHttpLog(url, prcsDate, guid, serviceProcessNumber){
$.ajax({
type : "GET",
url:url,
dataType:"json",
data:{cmd: 'DETAIL_HTTP_LOG', dayOfWeekNumber, guid, serviceProcessNumber },
data:{cmd: 'DETAIL_HTTP_LOG', prcsDate, guid, serviceProcessNumber },
success:function(res){
$('#labelHttpMethod').text(res.httpMethod);
$('#labelUrl').text(res.url);
@@ -192,6 +192,7 @@
success:function(json){
var data = json;
const logDayOfWeek = extractDayOfWeek(json.MSGDPSTYMS);
const prcsDate = json.MSGDPSTYMS.substring(0, 8);
const isInboundPart = json.LOGPRCSSSERNO === '100' || json.LOGPRCSSSERNO === '400';
const isOutboundPart = json.LOGPRCSSSERNO === '200' || json.LOGPRCSSSERNO === '300';
const isInboundWithoutNet = !json.GSTATSYSADPTRBZWKGROUPNAME.includes('NET');
@@ -199,7 +200,7 @@
fullMessageData = json.FULLMESSAGEDATA;
if((isInboundPart && isInboundWithoutNet) || (isOutboundPart && isOutboundWithoutNet)){
selectHttpLog(url, logDayOfWeek, json.EAISVCSERNO.trim(), logPrcssSerno);
selectHttpLog(url, prcsDate, json.EAISVCSERNO.trim(), logPrcssSerno);
}else{
$("#tab4Button").hide();
}