index.js 826 Bytes
import priceChange from './price-change';
import orderList from './order-list';
import orderConfirm from './order-confirm';
import orderDetail from './order-detail';
import buyerAskOrder from './buyer-ask-order';
import orderLogistics from './order-logistics';
import orderDeliver from './order-deliver';
import sellerAskOrder from './seller-ask-order';
import inSaleOrderList from './in-sale-order-list';

export default function() {
  return {
    namespaced: true,
    modules: {
      priceChange: priceChange(),
      orderList: orderList(),
      orderConfirm: orderConfirm(),
      orderDetail: orderDetail(),
      buyerAskOrder: buyerAskOrder(),
      logisticsInfo: orderLogistics(),
      orderDeliver: orderDeliver(),
      sellerAskOrder: sellerAskOrder(),
      inSaleOrderList: inSaleOrderList(),
    },
  };
}