|
|
@@ -91,7 +91,7 @@ export default class MyPage extends Component { |
|
|
|
contentItem2:null, |
|
|
|
animationTheme:{}, |
|
|
|
heartConfig:{ |
|
|
|
heartbeatInterval:1000*5*60, |
|
|
|
heartbeatInterval:1000*10, |
|
|
|
dataRefreshInterval:1000*60*60, |
|
|
|
pageChangeInterval:1000*10, |
|
|
|
}, |
|
|
@@ -168,6 +168,7 @@ codePushStatusDidChange(syncStatus) { |
|
|
|
+encodeURIComponent(this.state.macAddress), |
|
|
|
{version:this.state.versionInfo}) |
|
|
|
.then(result => { |
|
|
|
|
|
|
|
let config = JSON.parse(result.data.config); |
|
|
|
this.setState({ |
|
|
|
heartConfig:{ |
|
|
@@ -316,10 +317,7 @@ startAd() { |
|
|
|
this.hbRequest() |
|
|
|
hbRequestCount = this.state.heartConfig.heartbeatInterval |
|
|
|
} |
|
|
|
}, |
|
|
|
1000 |
|
|
|
); |
|
|
|
|
|
|
|
},1000) |
|
|
|
} |
|
|
|
|
|
|
|
getContentViewItemUplayer(contentItem) { |
|
|
|