[마이아더스] Orders 개발진행
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import axios from "axios";
|
||||
|
||||
// 목(MOCK) 데이터
|
||||
import tempData from "../../assets/mock/temp.json";
|
||||
import tempData2 from "../../assets/mock/temp2.json";
|
||||
import tempData3 from "../../assets/mock/temp3.json";
|
||||
import { URLS } from "../api/apiConfig";
|
||||
import { TAxios } from "../api/TAxios";
|
||||
import { types } from "./actionTypes";
|
||||
@@ -24,7 +27,7 @@ export const getMyinfoOrderSearch = (params) => (dispatch, getState) => {
|
||||
|
||||
dispatch({
|
||||
type: types.GET_MY_INFO_ORDER_SEARCH,
|
||||
payload: tempData,
|
||||
payload: response.data.data,
|
||||
});
|
||||
};
|
||||
|
||||
@@ -62,7 +65,7 @@ export const getMyinfoOrderDetailSearch = (params) => (dispatch, getState) => {
|
||||
|
||||
dispatch({
|
||||
type: types.GET_MY_INFO_ORDER_DETAIL_SEARCH,
|
||||
payload: response.data.data,
|
||||
payload: tempData2,
|
||||
});
|
||||
};
|
||||
|
||||
@@ -91,7 +94,7 @@ const getMyinfoOrderShippingSearch = (params) => (dispatch, getState) => {
|
||||
|
||||
dispatch({
|
||||
type: types.GET_MY_INFO_ORDER_SHIPPING_SEARCH,
|
||||
payload: response.data.data,
|
||||
payload: tempData3,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user