根据skuid批量关注
This commit is contained in:
@@ -535,6 +535,23 @@ func (c *StoreSkuController) RefreshJxPriceByExcel() {
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 根据Excel中SkuID批量关注商品
|
||||
// @Description 根据Excel中SkuID批量关注商品
|
||||
// @Param token header string true "认证token"
|
||||
// @Param isAsync formData bool true "是否异步,缺省是同步"
|
||||
// @Param isContinueWhenError formData bool true "单个同步失败是否继续,缺省false"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /FocusStoreSkusByExcel [post]
|
||||
func (c *StoreSkuController) FocusStoreSkusByExcel() {
|
||||
c.callFocusStoreSkusByExcel(func(params *tStoreSkuFocusStoreSkusByExcelParams) (retVal interface{}, errCode string, err error) {
|
||||
r := c.Ctx.Request
|
||||
files := r.MultipartForm.File["userfiles"]
|
||||
retVal, err = cms.FocusStoreSkusByExcel(params.Ctx, files, params.IsAsync, params.IsContinueWhenError)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 得到门店的分类列表
|
||||
// @Description 得到门店的分类列表(按商品销量)
|
||||
// @Param token header string false "认证token"
|
||||
|
||||
Reference in New Issue
Block a user