|
|
@@ -137,7 +137,7 @@ public class StatisticsDataController {
|
|
|
* type 1销售数据 2自然渠道分类数据 3 渠道商+个人 分类数据 4 续费/非续费数据
|
|
|
*/
|
|
|
@GetMapping("/get/groupsData")
|
|
|
- public Result<GroupsDataStatisticsView> getGroupsData(Long startTime, Long endTime, Integer type) throws Exception {
|
|
|
+ public Result<GroupsDataStatisticsView> getGroupsData(Long startTime, Long endTime, @RequestParam(defaultValue = "0") Integer type) throws Exception {
|
|
|
GroupsDataStatisticsView groupsDataStatisticsView = statisticsDataService.getGroupsData(startTime, endTime, type);
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(groupsDataStatisticsView);
|
|
|
}
|