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"; } }