Commit af56849f by wang

修复返回sku重复问题

parent 4a514dce
Showing with 6 additions and 3 deletions
......@@ -76,6 +76,7 @@ func whiteIp() {
"192.168.2.129",
"19.123.78.115",
"222.92.21.99",
"192.168.2.72",
"::1",
}
......@@ -128,6 +129,8 @@ func businessInterfaceList() {
"dayMaxNum":6100,
"minMaxNum":2000,
"totalMaxNum":10000,
},
/*baiduToken+"_"+getSkuListByClass: map[string]interface{}{
"dayMaxNum":100,
......
......@@ -44,12 +44,12 @@ func filterData(remoteData RemoteSkuData,filterField []string)(ArraySkuData){
newItem[field]=""
//common.PrintStdout().Printf("skuId:%s,字段:%s 不存在",string(skuId),field)
}
arraySkud=append(arraySkud,newItem)
}
remoteData[skuId]=newItem
arraySkud=append(arraySkud,newItem)
//remoteData[skuId]=newItem
}else{//有问题的格式
common.PrintStdout().Printf("skuId:%s,是个有问题的格式",string(skuId))
delete(remoteData,skuId)
//delete(remoteData,skuId)
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