통합로그 API

This commit is contained in:
dongyoungKo
2025-04-29 17:16:26 +09:00
parent f56b2ac353
commit c348850b17
5 changed files with 101 additions and 37 deletions

View File

@@ -1,7 +1,7 @@
import axios from "axios";
import axios from 'axios';
import { getUrl } from "./apiConfig";
import { createQueryString } from "../utils/helperMethods";
import { createQueryString } from '../utils/helperMethods';
import { getUrl } from './apiConfig';
export const TLogEvent = (
dispatch,
@@ -21,6 +21,12 @@ export const TLogEvent = (
const { deviceId: dvcId } = appStatus;
const dvcTp = "tv";
console.log("#cntry_c", cntryCd);
console.log("#play_cd", platCd);
console.log("#prodCd", prodCd);
console.log("#AUTH", AUTHORIZATION);
if (typeof window === "object") {
let url = Array.isArray(baseUrl)
? getUrl(getState, baseUrl[0])