1 changed files with 22 additions and 0 deletions
@ -0,0 +1,22 @@ |
|||||||
|
package com.logpm.report.controller; |
||||||
|
|
||||||
|
|
||||||
|
import com.logpm.report.service.InLibraryDeliverService; |
||||||
|
import io.swagger.annotations.Api; |
||||||
|
import lombok.AllArgsConstructor; |
||||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||||
|
import org.springframework.web.bind.annotation.RestController; |
||||||
|
|
||||||
|
|
||||||
|
@AllArgsConstructor |
||||||
|
@RestController |
||||||
|
@RequestMapping("index-count") |
||||||
|
@Api(value = "首页统计数据", tags = "首页统计数据") |
||||||
|
public class IndexCountController { |
||||||
|
private InLibraryDeliverService inLibraryDeliverService; |
||||||
|
|
||||||
|
|
||||||
|
public void indexCount() { |
||||||
|
Integer indexCount = inLibraryDeliverService.indexCount(); |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue