[actions, api] postLogLive, TLogEvent 수정
Detail Notes : 1. postLogLive, params 수정 2. TLogEvent, 딥 링크 관련 Logic 주석 처리
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import axios from "axios";
|
||||
|
||||
import { getUrl, URLS } from "./apiConfig";
|
||||
import { clearLaunchParams, getLaunchParams } from "../utils/helperMethods";
|
||||
import { getUrl } from "./apiConfig";
|
||||
// import { clearLaunchParams, getLaunchParams } from "../utils/helperMethods";
|
||||
import { createQueryString } from "../utils/helperMethods";
|
||||
|
||||
export const TLogEvent = (
|
||||
@@ -31,34 +31,31 @@ export const TLogEvent = (
|
||||
return;
|
||||
}
|
||||
|
||||
// pyh 수정
|
||||
if (type === "get") {
|
||||
const _urlparams = createQueryString(urlParams);
|
||||
url += _urlparams ? `?${_urlparams}` : "";
|
||||
}
|
||||
|
||||
let linkTpCd = "";
|
||||
// let linkTpCd = "";
|
||||
|
||||
// pyh 수정
|
||||
if (httpHeader) {
|
||||
const launchParams = getLaunchParams();
|
||||
// if (httpHeader) {
|
||||
// const launchParams = getLaunchParams();
|
||||
|
||||
if (launchParams?.contentTarget) {
|
||||
const tokens = launchParams.contentTarget.split("_");
|
||||
// if (launchParams?.contentTarget) {
|
||||
// const tokens = launchParams.contentTarget.split("_");
|
||||
|
||||
if (tokens[0] === "V3") {
|
||||
linkTpCd = tokens[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
// if (tokens[0] === "V3") {
|
||||
// linkTpCd = tokens[1];
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
const model = {
|
||||
...params,
|
||||
adId: "",
|
||||
cntryCd,
|
||||
dvcId,
|
||||
dvcTp,
|
||||
linkTpCd,
|
||||
// linkTpCd,
|
||||
platCd,
|
||||
prodCd,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user