[251124] fix: App.js 로그 정리 및 최적화-2
🕐 커밋 시간: 2025. 11. 24. 09:24:08 📊 변경 통계: • 총 파일: 5개 • 추가: +156줄 • 삭제: -111줄 📝 수정된 파일: ~ com.twin.app.shoptime/src/actions/empActions.js ~ com.twin.app.shoptime/src/hooks/useFocusHistory/useFocusHistory.js ~ com.twin.app.shoptime/src/lunaSend/common.js ~ com.twin.app.shoptime/src/views/CheckOutPanel/CheckOutPanel.jsx ~ com.twin.app.shoptime/src/views/HomePanel/HomePanel.jsx 🔧 함수 변경 내용: 📄 com.twin.app.shoptime/src/hooks/useFocusHistory/useFocusHistory.js (javascript): ✅ Added: dwarn(), derror() 🔄 Modified: getOrCreateGlobalBuffer() 📄 com.twin.app.shoptime/src/lunaSend/common.js (javascript): ✅ Added: dwarn(), derror() 📄 com.twin.app.shoptime/src/views/HomePanel/HomePanel.jsx (javascript): ✅ Added: dwarn(), derror() 🔧 주요 변경 내용: • 핵심 비즈니스 로직 개선
This commit is contained in:
@@ -5,7 +5,7 @@ import { types } from './actionTypes';
|
||||
// IF-LGSPM-373 EMP Shoptime 선택 약관 조회
|
||||
export const getShoptimeTerms = () => (dispatch, getState) => {
|
||||
const onSuccess = (response) => {
|
||||
console.log("getShoptimeTerms onSuccess ", response.data);
|
||||
// console.log("getShoptimeTerms onSuccess ", response.data);
|
||||
|
||||
dispatch({
|
||||
type: types.GET_SHOPTIME_TERMS,
|
||||
@@ -14,17 +14,8 @@ export const getShoptimeTerms = () => (dispatch, getState) => {
|
||||
};
|
||||
|
||||
const onFail = (error) => {
|
||||
console.error("getShoptimeTerms onFail ", error);
|
||||
console.error('getShoptimeTerms onFail ', error);
|
||||
};
|
||||
|
||||
TAxios(
|
||||
dispatch,
|
||||
getState,
|
||||
"get",
|
||||
URLS.GET_SHOPTIME_TERMS,
|
||||
{},
|
||||
{},
|
||||
onSuccess,
|
||||
onFail
|
||||
);
|
||||
TAxios(dispatch, getState, 'get', URLS.GET_SHOPTIME_TERMS, {}, {}, onSuccess, onFail);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user