// 导入合并reducer的依赖
import { combineReducers } from 'redux'
import goodsReducer from './B2Goods'
import wallReducer from './B3Wall'
import barrageReducer from './B4Barrage'
import topicReducer from './B5Topic'
import smartReducer from './B6Smart'
import userReducer from './C1User'
import RoleReducer from './C2Role'
import logReducer from './C3log'

// 导入 登录 模块的 reducer
import loginReducer from './login'

// 合并 reducer
const rootReducer = combineReducers({
  loginStore: loginReducer,
  logReducer:logReducer,
  goodsReducer:goodsReducer,
  wallReducer:wallReducer,
  barrageReducer:barrageReducer,
  smartReducer:smartReducer,
  topicReducer:topicReducer,
  userReducer:userReducer,
  RoleReducer:RoleReducer
})

// 默认导出
export default rootReducer