[测评系统]--测评系统核心代码库
linzhijie
2021-08-16 b9248c039eee2318129e128ad959c6f2e6e46846
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.ots.project.monitor.druid;
import com.ots.framework.web.controller.BaseController;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
 
@Controller
@RequestMapping("/monitor/data")
public class DruidController extends BaseController {
    private String prefix = "/druid";
    @RequiresPermissions("monitor:data:view")
    @GetMapping()
    public String index() {
        return redirect(prefix + "/index");
    }
}