package com.ots.project.demo.controller;
|
import org.springframework.stereotype.Controller;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@Controller
|
@RequestMapping("/demo/report")
|
public class DemoReportController {
|
private String prefix = "demo/report";
|
|
@GetMapping("/echarts")
|
public String echarts() {
|
return prefix + "/echarts";
|
}
|
|
@GetMapping("/peity")
|
public String peity() {
|
return prefix + "/peity";
|
}
|
|
@GetMapping("/sparkline")
|
public String sparkline() {
|
return prefix + "/sparkline";
|
}
|
|
@GetMapping("/metrics")
|
public String metrics() {
|
return prefix + "/metrics";
|
}
|
}
|