Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
7 years ago
Commit
54bbbb49f2ed1c45d9514f27466d89d930538b17
1 parent
ba9f35f0
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
doraemon/models/header.js
doraemon/models/header.js
View file @
54bbbb4
...
...
@@ -230,6 +230,10 @@ const THIRTY_MINUTES = 1000 * 60 * 10;
async
function
requestHeaderData
(
type
)
{
let
resData
=
{};
if
(
!
cacheHeaderHtml
[
type
])
{
type
=
'boys'
;
}
if
(
_
.
isEmpty
(
cacheHeaderHtml
[
type
][
0
])
||
((
new
Date
()
-
cacheHeaderHtml
[
type
][
1
])
>
THIRTY_MINUTES
))
{
let
channelNum
=
(
function
()
{
switch
(
type
)
{
...
...
Please
register
or
login
to post a comment