|
@@ -3,6 +3,7 @@ package db.controller;
|
|
|
import db.dto.StatisticDto;
|
|
|
import db.entity.ResponseDto;
|
|
|
import db.service.StatisticService;
|
|
|
+import db.tools.DecodeStatistic;
|
|
|
import db.util.ResponseUtils;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -24,6 +25,7 @@ public class StatisticController {
|
|
|
log.info("==> [api查看统计] 收到查看探针请求");
|
|
|
|
|
|
StatisticDto statisticDto = statisticService.getStatistic().toDto();
|
|
|
+ statisticDto.setNeedDecodePacketNum(DecodeStatistic.getInstance().getNeedDecodePacketNum());
|
|
|
|
|
|
ResponseDto<StatisticDto> ret;
|
|
|
|