package com.hivekion.statistic.controller; import com.hivekion.common.entity.ResponseData; import com.hivekion.statistic.bean.StatisticBean; import com.hivekion.statistic.service.StatisticService; import javax.annotation.Resource; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * [类的简要说明] *

* [详细描述,可选] *

* * @author LiDongYU * @since 2025/7/22 */ @RestController @RequestMapping("/statistic") public class StatisticController { @Resource private StatisticService statisticService; @GetMapping("/info") public ResponseData statistic(String resourceId) { return ResponseData.success(statisticService.statistic(resourceId)); } }