This commit is contained in:
邹宗楠
2026-01-28 14:16:47 +08:00
parent 175dc47c60
commit 22b18f1e02
9 changed files with 67886 additions and 67469 deletions

View File

@@ -614,6 +614,27 @@ func (c *SkuController) UpdateSkuExinfoMap() {
})
}
// @Title 批量设置商品额外信息
// @Description 批量设置商品额外信息
// @Param token header string true "认证token"
// @Param exPrefix formData string false "商品额外前缀"
// @Param fromDate formData string true "生效开始时间,格式 2006-01-01 "
// @Param toDate formData string true "生效结束时间,格式 2006-01-01 "
// @Param imgWaterMark formData string false "商品水印图"
// @Param vendorID formData int true "平台ID"
// @Param storeId formData int true "京西门店ID"
// @Param isAsync formData bool false "是否异步"
// @Param isContinueWhenError formData bool false "单个同步失败是否继续缺省false"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /UpdateVendorSkuImg [put]
func (c *SkuController) UpdateVendorSkuImg() {
c.callUpdateVendorSkuImg(func(params *tSkuUpdateVendorSkuImgParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.UpdateVendorImg(params.Ctx, params.StoreId, params.ImgWaterMark, params.VendorID, params.ExPrefix, params.FromDate, params.ToDate, params.IsAsync, params.IsContinueWhenError)
return retVal, "", err
})
}
// @Title 得到平台类别
// @Description 得到平台类别
// @Param token header string true "认证token"