1. 增加 swagger 菜单

2. 增加 spring boot admin 菜单
This commit is contained in:
YunaiV
2021-02-20 16:17:26 +08:00
parent 80544e43af
commit d50fa8ed22
29 changed files with 60 additions and 284 deletions

View File

@ -1,22 +0,0 @@
package com.ruoyi.web.controller.tool;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import com.ruoyi.common.core.controller.BaseController;
/**
* swagger 接口
*
* @author ruoyi
*/
@Controller
@RequestMapping("/tool/swagger")
public class SwaggerController extends BaseController {
@PreAuthorize("@ss.hasPermi('tool:swagger:view')")
@GetMapping()
public String index() {
return redirect("/swagger-ui.html");
}
}