|
@@ -437,8 +437,12 @@
|
|
|
$.get('/jyactive/doubleEleven/isActiving', function (r) {
|
|
|
if (r && r.data) {
|
|
|
if (r.data.isActiving && r.data.isWritten === 1) {
|
|
|
- history.pushState({state: 'full'}, null)
|
|
|
- location.href = '/jyapp/big/page/write_infor'
|
|
|
+ var readToDay = localStorage.getItem('doubleEleven_isActiving') === new Date().toDateString()
|
|
|
+ localStorage.setItem('doubleEleven_isActiving', new Date().toDateString())
|
|
|
+ if (!readToDay) {
|
|
|
+ history.pushState({state: 'full'}, null)
|
|
|
+ location.href = '/jyapp/big/page/write_infor'
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
})
|