对比新文件 |
| | |
| | | package com.se.system.controller; |
| | | |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.Map; |
| | | |
| | | @RestController |
| | | @RequestMapping("/index") |
| | | @SuppressWarnings("ALL") |
| | | public class IndexController { |
| | | @GetMapping("/monitor") |
| | | public Map<String, Object> monitor() { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | |
| | | return map; |
| | | } |
| | | |
| | | @GetMapping("/userList") |
| | | public Map<String, Object> userList() { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | |
| | | return map; |
| | | } |
| | | |
| | | @GetMapping("/uvCount") |
| | | public Map<String, Object> uvCount() { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | |
| | | return map; |
| | | } |
| | | |
| | | @GetMapping("/pvCount") |
| | | public Map<String, Object> pvCount() { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | |
| | | return map; |
| | | } |
| | | } |