[测评系统]--测评系统核心代码库
林致杰
2023-10-19 77f6cf1868777a27c033af7d6d4f2fe9d2afc30d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.ots.project.tool.build;
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("/tool/build")
public class BuildController extends BaseController {
    private String prefix = "tool/build";
    @RequiresPermissions("tool:build:view")
    @GetMapping()
    public String build() {
        return prefix + "/build";
    }
}