畅销品自动关注条件修改,刷新中位价增加全国
This commit is contained in:
@@ -517,7 +517,8 @@ func (c *StoreSkuController) GetTopCategoriesByStoreIDs() {
|
||||
// @Title 根据门店刷新中位价
|
||||
// @Description 根据门店刷新中位价
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeIDs query string true "门店列表"
|
||||
// @Param isCountry formData bool true "是否按全国中位价刷新"
|
||||
// @Param storeIDs formData string true "门店列表"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /RefershStoreSkusMidPrice [put]
|
||||
@@ -525,7 +526,7 @@ func (c *StoreSkuController) RefershStoreSkusMidPrice() {
|
||||
var storeIDList []int
|
||||
c.callRefershStoreSkusMidPrice(func(params *tStoreSkuRefershStoreSkusMidPriceParams) (retVal interface{}, errCode string, err error) {
|
||||
if jxutils.Strings2Objs(params.StoreIDs, &storeIDList); err == nil {
|
||||
err = cms.RefershStoreSkusMidPrice(params.Ctx, storeIDList)
|
||||
err = cms.RefershStoreSkusMidPrice(params.Ctx, storeIDList, params.IsCountry)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user