1
This commit is contained in:
@@ -442,22 +442,3 @@ func (c *SyncController) SyncJdsStoresSkus() {
|
|||||||
return retVal, "", err
|
return retVal, "", err
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Title 取消商品美团的活动,用于改价
|
|
||||||
// @Description 取消商品美团的活动,用于改价
|
|
||||||
// @Param token header string true "认证token"
|
|
||||||
// @Param storeIDs formData string false "门店ID列表"
|
|
||||||
// @Param isAsync formData bool false "是否异步操作"
|
|
||||||
// @Param isContinueWhenError formData bool false "单个同步失败是否继续,缺省false"
|
|
||||||
// @Success 200 {object} controllers.CallResult
|
|
||||||
// @Failure 200 {object} controllers.CallResult
|
|
||||||
// @router /SyncJdsStoresSkus [put]
|
|
||||||
func (c *SyncController) CancelMtSkuAct() {
|
|
||||||
c.callSyncJdsStoresSkus(func(params *tSyncSyncJdsStoresSkusParams) (retVal interface{}, errCode string, err error) {
|
|
||||||
var storeIDs []int
|
|
||||||
if err = jxutils.Strings2Objs(params.StoreIDs, &storeIDs); err == nil {
|
|
||||||
retVal, err = cms.CurVendorSync.SyncJdsStoresSkus(params.Ctx, storeIDs, params.IsAsync, params.IsContinueWhenError)
|
|
||||||
}
|
|
||||||
return retVal, "", err
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user