每晚自动同步时,全量同步

用AmendAndPruneStoreStuff替代PruneMissingStoreSkus与AddCreateFlagForJxStoreSku
This commit is contained in:
gazebo
2019-12-19 09:55:10 +08:00
parent 5f1c793a37
commit 1f1036b503
5 changed files with 103 additions and 11 deletions

View File

@@ -15,3 +15,11 @@ func TestGetFullStoreSkus(t *testing.T) {
}
globals.SugarLogger.Debug(utils.Format4Output(skuList, false))
}
func TestGetStoreSkus(t *testing.T) {
skuList, err := GetStoreSkus(GetDB(), model.VendorIDMTWM, 100134, nil)
if err != nil {
t.Fatal(err)
}
globals.SugarLogger.Debug(utils.Format4Output(skuList, false))
}