手动刷

This commit is contained in:
苏尹岚
2020-04-23 11:54:25 +08:00
parent ca65366c27
commit 5a06701afa

View File

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