- 修复controller.DeleteRemoteStoreSkus中的bug

This commit is contained in:
gazebo
2019-07-26 17:15:52 +08:00
parent a2abeaeead
commit 98325e40cc

View File

@@ -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 {