From 98325e40cc49f332c49effaaca209e046ad42655 Mon Sep 17 00:00:00 2001 From: gazebo Date: Fri, 26 Jul 2019 17:15:52 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BF=AE=E5=A4=8Dcontroller.DeleteRemoteSt?= =?UTF-8?q?oreSkus=E4=B8=AD=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/cms_sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {