| | |
| | | */ |
| | | @GetMapping("/qichacha") |
| | | @ApiOperation(value = "接口统计") |
| | | @PreAuthorize("@ss.hasPermi('index:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('index:manage')") |
| | | public R<QichachaStatisticsVO> qichacha() { |
| | | return R.ok( qichachaService.qichacha()); |
| | | } |
| | |
| | | */ |
| | | @GetMapping("/today") |
| | | @ApiOperation(value = "收入统计-今日入账") |
| | | @PreAuthorize("@ss.hasPermi('index:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('index:manage')") |
| | | public R<TodayStatisticsVO> today() { |
| | | return R.ok( orderService.today()); |
| | | } |
| | |
| | | */ |
| | | @GetMapping("/chart") |
| | | @ApiOperation(value = "收入统计-折线图") |
| | | @PreAuthorize("@ss.hasPermi('index:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('index:manage')") |
| | | public R<IndexLineChartVO> chart(@RequestParam(required = false, defaultValue = "7") Integer days, |
| | | @RequestParam(required = false) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") LocalDateTime startTime, |
| | | @RequestParam(required = false) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") LocalDateTime endTime) { |