mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-15 11:35:06 +08:00
23 lines
635 B
Java
23 lines
635 B
Java
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");
|
|
}
|
|
}
|