aa
This commit is contained in:
@@ -119,6 +119,7 @@ func (c *ReportController) GetManageState() {
|
||||
// @Description 查询门店经营数据
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeIDs query string false "门店ID列表[1,2,3]"
|
||||
// @Param brandIDs query string false "品牌ID列表[1,2,3]"
|
||||
// @Param vendorID query int true "平台ID"
|
||||
// @Param sortType query int false "排序类型,1 覆盖范围,2市场规模,3营业时长,4商品数,5虚高商品数,6活动丰富度,7无效订单数,8拒绝订单数,9门店评分,正升序,负倒序"
|
||||
// @Param offset query int false "门店列表起始序号(以0开始,缺省为0)"
|
||||
@@ -128,9 +129,9 @@ func (c *ReportController) GetManageState() {
|
||||
// @router /GetStoreManageState [get]
|
||||
func (c *ReportController) GetStoreManageState() {
|
||||
c.callGetStoreManageState(func(params *tReportGetStoreManageStateParams) (retVal interface{}, errCode string, err error) {
|
||||
var storeIDs []int
|
||||
if err = jxutils.Strings2Objs(params.StoreIDs, &storeIDs); err == nil {
|
||||
retVal, err = report.GetStoreManageState(params.Ctx, storeIDs, params.VendorID, params.SortType, params.Offset, params.PageSize)
|
||||
var storeIDs, brandIDs []int
|
||||
if err = jxutils.Strings2Objs(params.StoreIDs, &storeIDs, params.BrandIDs, brandIDs); err == nil {
|
||||
retVal, err = report.GetStoreManageState(params.Ctx, storeIDs, brandIDs, params.VendorID, params.SortType, params.Offset, params.PageSize)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user