畅销商品
This commit is contained in:
@@ -465,6 +465,21 @@ func (c *StoreSkuController) GetTopSkusByStoreIDs() {
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 根据城市信息查找推荐商品(按销量)
|
||||
// @Description 根据城市信息查找推荐商品(按销量)
|
||||
// @Param token header string false "认证token"
|
||||
// @Param cityCode query int true "城市id"
|
||||
// @Param storeID query int false "门店id"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetTopSkusByCityCode [get]
|
||||
func (c *StoreSkuController) GetTopSkusByCityCode() {
|
||||
c.callGetTopSkusByCityCode(func(params *tStoreSkuGetTopSkusByCityCodeParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = cms.GetTopSkusByCityCode(params.Ctx, params.CityCode, params.StoreID)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 根据门店信息查找推荐分类(按商品销量)
|
||||
// @Description 根据门店信息查找推荐分类(按商品销量)
|
||||
// @Param token header string false "认证token"
|
||||
|
||||
Reference in New Issue
Block a user