[251215] fix: FeaturedBrandsPanel Log추가
🕐 커밋 시간: 2025. 12. 15. 09:38:59 📊 변경 통계: • 총 파일: 3개 • 추가: +30줄 📁 추가된 파일: + com.twin.app.shoptime/src/api/logServerClient.js 📝 수정된 파일: ~ com.twin.app.shoptime/src/api/TLogEvent.js ~ com.twin.app.shoptime/src/views/FeaturedBrandsPanel/FeaturedBrandsPanel.jsx 🔧 주요 변경 내용: • API 서비스 레이어 개선 • 소규모 기능 개선
This commit is contained in:
@@ -2,6 +2,7 @@ import axios from "axios";
|
||||
|
||||
import { createQueryString } from "../utils/helperMethods";
|
||||
import { getUrl } from "./apiConfig";
|
||||
import { DEBUG_LOG_MODE, sendToLogServer } from "./logServerClient";
|
||||
|
||||
export const TLogEvent = (
|
||||
dispatch,
|
||||
@@ -68,6 +69,23 @@ export const TLogEvent = (
|
||||
prodCd,
|
||||
};
|
||||
}
|
||||
|
||||
// ===== DEBUG_LOG_MODE: 로그서버로 데이터 전송 =====
|
||||
if (DEBUG_LOG_MODE) {
|
||||
sendToLogServer({
|
||||
deviceId: dvcId,
|
||||
cntryCd,
|
||||
platCd,
|
||||
prodCd,
|
||||
appVersion,
|
||||
deviceLang,
|
||||
logModel: model,
|
||||
apiUrl: url,
|
||||
httpMethod: type,
|
||||
totalLogFlag,
|
||||
});
|
||||
}
|
||||
|
||||
let axiosInstance;
|
||||
|
||||
switch (type) {
|
||||
|
||||
Reference in New Issue
Block a user