手动刷
This commit is contained in:
@@ -2209,7 +2209,7 @@ func RefreshJdDepot(ctx *jxcontext.Context) (err error) {
|
|||||||
}
|
}
|
||||||
if len(thingMaps) > 0 {
|
if len(thingMaps) > 0 {
|
||||||
for _, v := range thingMaps {
|
for _, v := range thingMaps {
|
||||||
time.Sleep(time.Second / 4)
|
time.Sleep(time.Second / 2)
|
||||||
SyncSkus(ctx, nil, []int{0}, []string{"320406"}, nil, []int{int(v.ThingID)}, true)
|
SyncSkus(ctx, nil, []int{0}, []string{"320406"}, nil, []int{int(v.ThingID)}, true)
|
||||||
// _, err = api.JdAPI.RefreshJdDepot(int(utils.Str2Int64(v.VendorThingID)))
|
// _, err = api.JdAPI.RefreshJdDepot(int(utils.Str2Int64(v.VendorThingID)))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user