yohoCoinInitialState.js
644 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
'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;