Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
search_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
abbed5e0
authored
Nov 27, 2020
by
huangchengyi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1.0
parent
c332febd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
service/ly/sourceability.go
service/ly/sourceability.go
View file @
abbed5e0
...
...
@@ -84,7 +84,7 @@ func OutLinkSource(ctx *gin.Context,goodsName *string) *orderedmap.OrderedMap {
//协程并发请求
//接收通道所有的值
A
:=
orderedmap
.
New
()
ch
:=
make
(
chan
bool
,
1
0
)
ch
:=
make
(
chan
bool
,
1
)
p
:=
0
;
for
_
,
a
:=
range
skuRsults
{
goods_sn
:=
a
.
Get
(
"sku"
)
.
String
()
//goods_sn
...
...
@@ -197,7 +197,7 @@ func GetSourceInfo(ctx *gin.Context,B *orderedmap.OrderedMap) bool {
}
if
LowerPrice
==
0
{
LowerPrice
=
apiLowerPrice
;
}
else
if
LowerPrice
>
apiLowerPrice
{
//不是最低价格,跳过
}
else
if
LowerPrice
<
apiLowerPrice
{
//不是最低价格,跳过
common
.
PrintDebugHtml
(
ctx
,
"不是最低价格跳过"
)
continue
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment