[actions, reducers] getBrandCreatorsInfo 관련 로직 추가
Detail Notes :
This commit is contained in:
@@ -145,6 +145,35 @@ export const getBrandRecommendedShowInfo = (props) => (dispatch, getState) => {
|
||||
);
|
||||
};
|
||||
|
||||
// Featured Brands Featured Creators 정보 조회 IF-LGSP-309
|
||||
export const getBrandCreatorsInfo = (props) => (dispatch, getState) => {
|
||||
const { hstNm, patnrId } = props;
|
||||
|
||||
const onSuccess = (response) => {
|
||||
console.log("@@ getBrandCreatorsInfo onSuccess ", response.data);
|
||||
|
||||
dispatch({
|
||||
type: types.GET_BRAND_CREATORS_INFO,
|
||||
payload: response.data.data,
|
||||
});
|
||||
};
|
||||
|
||||
const onFail = (error) => {
|
||||
console.error("@@ getBrandCreatorsInfo onFail ", error);
|
||||
};
|
||||
|
||||
TAxios(
|
||||
dispatch,
|
||||
getState,
|
||||
"get",
|
||||
URLS.GET_BRAND_CREATORS_INFO,
|
||||
{ hstNm, patnrId },
|
||||
{},
|
||||
onSuccess,
|
||||
onFail
|
||||
);
|
||||
};
|
||||
|
||||
// Featured Brand Best Seller 상품 목록 조회 IF-LGSP-312
|
||||
export const getBrandBestSeller = (props) => (dispatch, getState) => {
|
||||
const { patnrId } = props;
|
||||
|
||||
Reference in New Issue
Block a user