zoujiajian 2 éve
szülő
commit
4c3827e1c4

+ 11 - 0
netflix-service/src/main/java/com/cyksj/service/mange/statistics/impl/StatisticsDataServiceImpl.java

@@ -116,6 +116,17 @@ public class StatisticsDataServiceImpl implements StatisticsDataService {
 				//潮玩好物数据
 				getFashionGoodsData(backgroundDataView, startDate, endDate);
 				break;
+			default:
+				//流媒体账号
+				getStreamingAccountDataView(backgroundDataView, startDate, endDate);
+				//appleOne
+				getAppleOneDataView(backgroundDataView, startDate, endDate);
+				//实物数据
+				getRealGoodsData(backgroundDataView, startDate, endDate);
+				//注册账号数据
+				getRegisterAccountData(backgroundDataView, startDate, endDate);
+				//潮玩好物数据
+				getFashionGoodsData(backgroundDataView, startDate, endDate);
 		}
 		return GatewayResponse.SUCCESS.newBuilder().toResult(backgroundDataView);
 	}

+ 1 - 1
netflix-web/src/main/java/com/cyksj/web/controller/manage/statistics/StatisticsDataController.java

@@ -101,7 +101,7 @@ public class StatisticsDataController {
 	 */
 	@GetMapping("/get/goods")
 	@SaCheckPermission("statics:view")
-	public Result<BackgroundDataView> getStatisticsByCondition(@RequestParam(defaultValue = "1") Integer type, Long startTime, Long endTime) throws InterruptedException {
+	public Result<BackgroundDataView> getStatisticsByCondition(@RequestParam(defaultValue = "0") Integer type, Long startTime, Long endTime) throws InterruptedException {
 		return statisticsDataService.getStatisticsByCondition(type, startTime, endTime);
 	}