- fix some store to stores.

This commit is contained in:
gazebo
2018-10-11 16:11:48 +08:00
parent ed00165527
commit 5ec12fbbf1
7 changed files with 11 additions and 11 deletions

View File

@@ -163,7 +163,7 @@ func (v *VendorSync) SyncStoresSkus(db *dao.DaoDB, storeIDs []int, skuIDs []int,
err = v.LoopStoreVendors(db, "SyncStoresSkus", userName, func(batchItemList []interface{}, params ...interface{}) (interface{}, error) {
vendorID := batchItemList[0].(int)
if handler := GetPurchaseHandler(vendorID); handler != nil {
err = handler.SyncStoreSkus(db, storeIDs, skuIDs, isForce, userName)
err = handler.SyncStoresSkus(db, storeIDs, skuIDs, isForce, userName)
}
return nil, err
})