Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
spider-ufo
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
杨延青
2019-11-01 15:27:30 +0800
Commit
2cc1843395865dc38a90d04f884da300a16617aa
2 parents
17a356e2
7ce3824d
Merge branch 'feature/highRate' into 'master'
change highRate See merge request
!20
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
tasks/spider-all-task.js
tasks/spider-task.js
tasks/spider-all-task.js
View file @
2cc1843
...
...
@@ -58,7 +58,7 @@ module.exports = async(time) => {
console
.
log
(
`
=================>
spider
-
all
-
task
yhId
:
$
{
yhProduct
.
productId
},
duId
:
$
{
detail
.
productId
}
size
:
$
{
s
.
size
}
=>
$
{
find
.
relationSize
||
s
.
size
},
$
{
find
.
sizeId
}
`
);
}
// const highRate = inSkns ? 0.02 : 0.05;
const
highRate
=
0.0
01
;
const
highRate
=
0.0
2
;
report
({
productId
:
yhProduct
.
productId
,
...
...
tasks/spider-task.js
View file @
2cc1843
...
...
@@ -79,7 +79,7 @@ module.exports = async(time) => {
if
(
isSpecialSize
)
{
console
.
log
(
`
=================>
spider
-
task
yhId
:
$
{
yhProduct
.
yhId
},
duId
:
$
{
detail
.
productId
}
size
:
$
{
s
.
size
}
=>
$
{
find
.
relationSize
||
s
.
size
},
$
{
find
.
sizeId
}
`
);
}
const
highRate
=
0.0
01
;
const
highRate
=
0.0
2
;
report
({
productId
:
yhProduct
.
yhId
,
...
...
Please
register
or
login
to post a comment