手动刷

This commit is contained in:
苏尹岚
2020-04-23 12:04:34 +08:00
parent f993776f19
commit a5bc255326

View File

@@ -2209,7 +2209,7 @@ func RefreshJdDepot(ctx *jxcontext.Context) (err error) {
}
if len(thingMaps) > 0 {
for _, v := range thingMaps {
time.Sleep(time.Second / 2)
time.Sleep(time.Second)
SyncSkus(ctx, nil, []int{0}, []string{"320406"}, nil, []int{int(v.ThingID)}, true)
// _, err = api.JdAPI.RefreshJdDepot(int(utils.Str2Int64(v.VendorThingID)))
}