diff --git a/controllers/cms_sync.go b/controllers/cms_sync.go index 7b0b26d1b..fc9717aaf 100644 --- a/controllers/cms_sync.go +++ b/controllers/cms_sync.go @@ -131,7 +131,7 @@ func (c *SyncController) FullSyncStoresSkus() { // @Failure 200 {object} controllers.CallResult // @router /DeleteRemoteStoreSkus [delete] func (c *SyncController) DeleteRemoteStoreSkus() { - c.callFullSyncStoresSkus(func(params *tSyncFullSyncStoresSkusParams) (retVal interface{}, errCode string, err error) { + c.callDeleteRemoteStoreSkus(func(params *tSyncDeleteRemoteStoreSkusParams) (retVal interface{}, errCode string, err error) { db := dao.GetDB() var vendorIDs, storeIDs []int if err = jxutils.Strings2Objs(params.StoreIDs, &storeIDs, params.VendorIDs, &vendorIDs); err != nil {