获取各平台未营业门店

This commit is contained in:
苏尹岚
2019-12-05 14:46:52 +08:00
parent 621ae66f6e
commit 9dd4c76074
7 changed files with 211 additions and 1 deletions

View File

@@ -48,3 +48,21 @@ func (c *ReportController) StatisticsReportForAfsOrders() {
return retVal, "", err
})
}
// @Title 查询京西门店商品价格统计相关信息
// @Description 查询京西门店商品价格统计相关信息
// @Param token header string true "认证token"
// @Param cityCodes formData string true "城市ID列表[1,2,3]"
// @Param skuIDs formData string true "skuID列表[1,2,3]"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /StatisticsReportForStoreSkusPrice [post]
func (c *ReportController) StatisticsReportForStoreSkusPrice() {
c.callStatisticsReportForStoreSkusPrice(func(params *tReportStatisticsReportForStoreSkusPriceParams) (retVal interface{}, errCode string, err error) {
var cityCodeList, skuIDList []int
if err = jxutils.Strings2Objs(params.CityCodes, &cityCodeList, params.SkuIDs, &skuIDList); err == nil {
err = report.StatisticsReportForStoreSkusPrice(params.Ctx, cityCodeList, skuIDList)
}
return retVal, "", err
})
}