推荐商品自动关注,修改,以及暂时只整4个小城市
This commit is contained in:
@@ -626,3 +626,18 @@ func (c *StoreSkuController) FocusStoreSkusBySku() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 自动关注畅销品
|
||||
// @Description 自动关注畅销品
|
||||
// @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 /AutoFocusStoreSkusForTopSkus [post]
|
||||
func (c *StoreSkuController) AutoFocusStoreSkusForTopSkus() {
|
||||
c.callAutoFocusStoreSkusForTopSkus(func(params *tStoreSkuAutoFocusStoreSkusForTopSkusParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = cms.AutoFocusStoreSkusForTopSkus(params.Ctx, params.IsAsync, params.IsContinueWhenError)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user