|
@@ -1,27 +1,27 @@
|
|
|
import {createStore, combineReducers, applyMiddleware, compose} from 'redux';
|
|
|
import thunk from 'redux-thunk';
|
|
|
-import actionPromise from "./actionPromise";
|
|
|
-import {gql, urlUpload} from "./gql";
|
|
|
-import actionGoods from "./actionGoods"
|
|
|
-import getData from "./getData";
|
|
|
-import {actionSearch} from "./actionsearch";
|
|
|
-import actionLogin from "./actionLogin";
|
|
|
+import actionPromise from "../actions/actionPromise";
|
|
|
+import {gql, urlUpload} from "../actions/gql";
|
|
|
+import actionGoods from "../actions/actionGoods"
|
|
|
+import getData from "../actions/getData";
|
|
|
+import {actionSearch} from "../actions/actionsearch";
|
|
|
+import actionLogin from "../actions/actionLogin";
|
|
|
import authReducer from "./authReducer";
|
|
|
-import {actionAuthLogin, actionAuthLogout} from "./actionAuthLog";
|
|
|
-import actionGoodCard from "./actionGoodCard";
|
|
|
-import updateImgAction from "./actionUpdateImg";
|
|
|
+import {actionAuthLogin, actionAuthLogout} from "../actions/actionAuthLog";
|
|
|
+import actionGoodCard from "../actions/actionGoodCard";
|
|
|
+import updateImgAction from "../actions/actionUpdateImg";
|
|
|
import {cartReducer, actionCartClear, actionCartDelete, actionCartAdd} from "./cartReducer";
|
|
|
-import actionOrder from "./actionOrder";
|
|
|
-import actionReg from "./actionReg";
|
|
|
-import actionUserFindOne from "./actionFindOneUser";
|
|
|
-import actionUserUpdate from "./actionUserUpdate";
|
|
|
-import actionSearchUser from "./actionSearchUser";
|
|
|
-import actionGoodUpdate from "./actionGoodUpdate";
|
|
|
+import actionOrder from "../actions/actionOrder";
|
|
|
+import actionReg from "../actions/actionReg";
|
|
|
+import actionUserFindOne from "../actions/actionFindOneUser";
|
|
|
+import actionUserUpdate from "../actions/actionUserUpdate";
|
|
|
+import actionSearchUser from "../actions/actionSearchUser";
|
|
|
+import actionGoodUpdate from "../actions/actionGoodUpdate";
|
|
|
import {orderUpdateReducer, actionOrderClear, actionOrderAddNewGood, actionOrderAddOne, actionOrderAddOrder, actionOrderDelete} from "./orderUpdateReduser"
|
|
|
-import {actionOrdersFind, actionOrderFindOne} from "./actionOrdersFind";
|
|
|
-import actionOrderUpdate from "./actionUpdateOrder";
|
|
|
+import {actionOrdersFind, actionOrderFindOne} from "../actions/actionOrdersFind";
|
|
|
+import actionOrderUpdate from "../actions/actionUpdateOrder";
|
|
|
import {wishListReducer, actionWishAdd, actionWishDelete} from "./wishListReducer";
|
|
|
-import actionWishes from "./actionWishSearch";
|
|
|
+import actionWishes from "../actions/actionWishSearch";
|
|
|
|
|
|
|
|
|
function promiseReducer(state={}, action){
|