homeInitialState.js
629 Bytes
/**
* # guideInitialState.js
*
*
*/
'use strict';
/**
* ## Import immutable record
*/
import {Record} from 'immutable';
/**
* ## InitialState
*
* The fields we're concerned with
*/
let InitialState = Record({
isFetching: false,
error: null,
shopId: 0,
shopName: '',
overview: new (Record({
rank: 0, //店铺排名
rankHasTrend: false, //店铺排名是否有环比数据
rise: true, //店铺排名是否上升
riseCount: 0, //店铺排名变动数量
goodsCount: 0, //今日有效订单商品件数
goodsAmount: 0, //今日有效订单商品金额
})),
});
export default InitialState;