mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 20:28:44 +08:00 
			
		
		
		
	1. 增加 swagger 菜单
2. 增加 spring boot admin 菜单
This commit is contained in:
		@@ -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");
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user