[마이오더스] 목데이터 추가 / 기능 구현중

This commit is contained in:
sungmin.in
2024-05-07 18:55:13 +09:00
parent 76322d4c94
commit f194b55a30
4 changed files with 347 additions and 366 deletions

View File

@@ -1,9 +1,12 @@
import axios from "axios";
import tempData from "../../assets/mock/temp.json";
import { URLS } from "../api/apiConfig";
import { TAxios } from "../api/TAxios";
import { types } from "./actionTypes";
import { getTermsAgreeYn } from "./commonActions";
// 회원 주문 정보 조회 (IF-LGSP-340)
// 회원 주문 정보 조회 (IF-LGSP-340) --> MOCK 데이터 사용 API 완성후 변경 2024.05.07
export const getMyinfoOrderSearch = (params) => (dispatch, getState) => {
const {
mbrNo,
@@ -21,7 +24,7 @@ export const getMyinfoOrderSearch = (params) => (dispatch, getState) => {
dispatch({
type: types.GET_MY_INFO_ORDER_SEARCH,
payload: response.data.data,
payload: tempData,
});
};