Commit abbed5e0 by huangchengyi

1.0

parent c332febd
Showing with 2 additions and 2 deletions
......@@ -84,7 +84,7 @@ func OutLinkSource(ctx *gin.Context,goodsName *string) *orderedmap.OrderedMap {
//协程并发请求
//接收通道所有的值
A := orderedmap.New()
ch := make(chan bool,10)
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment