Xiajijian
2026-01-15 8880fdbc3a4f66837e43eacbcef1ca55845c5e64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.ard.web.controller.data;
 
import com.ard.common.core.domain.AjaxResult;
import com.ard.data.statistics.service.ArdStatisticsService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
import javax.annotation.Resource;
 
@Api(tags = "统计接口")
@RestController
@RequestMapping("/data/statistics")
public class ArdStatisticsController {
 
    @Resource
    private ArdStatisticsService service;
 
    @ApiOperation("获取统计数量")
    @GetMapping("/counts")
    public AjaxResult getCounts() {
        return AjaxResult.success(service.getCounts());
    }
}