正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -237,8 +237,8 @@ func (srv CompanyStatisticsService) GoodsStatistics(cmd *command.GoodsStatistics | @@ -237,8 +237,8 @@ func (srv CompanyStatisticsService) GoodsStatistics(cmd *command.GoodsStatistics | ||
237 | "companyId": cmd.Operator.CompanyId, | 237 | "companyId": cmd.Operator.CompanyId, |
238 | "orgId": cmd.Operator.OrgId, | 238 | "orgId": cmd.Operator.OrgId, |
239 | "rankType": cmd.RankingType, //当前月 | 239 | "rankType": cmd.RankingType, //当前月 |
240 | - //"offset":cmd.PageNumber*cmd.PageSize, | ||
241 | - "top": 100, | 240 | + "offset": cmd.PageNumber * cmd.PageSize, |
241 | + "limit": cmd.PageSize, | ||
242 | }) | 242 | }) |
243 | if err != nil { | 243 | if err != nil { |
244 | return 0, nil, application.ThrowError(application.BUSINESS_ERROR, err.Error()) | 244 | return 0, nil, application.ThrowError(application.BUSINESS_ERROR, err.Error()) |
-
请 注册 或 登录 后发表评论