aa
This commit is contained in:
@@ -96,3 +96,21 @@ func (c *ReportController) AutoFocusStoreSkus() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 查询经营概况
|
||||
// @Description 查询经营概况
|
||||
// @Param token header string true "认证token"
|
||||
// @Param cityCodes query string false "城市ID列表[1,2,3]"
|
||||
// @Param vendorID query int false "vendorID 全部传-1"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetManageState [get]
|
||||
func (c *ReportController) GetManageState() {
|
||||
c.callGetManageState(func(params *tReportGetManageStateParams) (retVal interface{}, errCode string, err error) {
|
||||
var cityCodes []int
|
||||
if err = jxutils.Strings2Objs(params.CityCodes, &cityCodes); err == nil {
|
||||
retVal, err = report.GetManageState(params.Ctx, cityCodes, params.VendorID)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user