yohoCoinInitialState.js 644 Bytes
'use strict';

import {Record, List, Map} from 'immutable';

let InitialState = Record({
	yohoCoin: new (Record({
		yohocoin_num: 0,
		notice: '',
		isFetching: false,
		error: null,
		yohoCoinCode: '20151230-102233',
	})),

	banner: new (Record({
		list: List(),
		isFetching: false,
		error: null,
	})),

	weixin: new (Record({
        isFetching: false,
        error: null,
        data: List(),
    })),

	favorite: new (Record({
		isFetching: false,
		currentPage: 0,
		pageCount: 0,
		total: 0,
		pageSize: 50,
		error: null,
		list: List(),
		rec_id: '',
		endReached: false,
		similarIndex: -1,
	})),
});

export default InitialState;