mirror of
https://gitee.com/wangkang/udf.git
synced 2026-10-29 16:48:39 +00:00
添加api过滤
This commit is contained in:
+2
@@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
import org.springframework.web.servlet.NoHandlerFoundException;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
@@ -23,6 +24,7 @@ import java.util.*;
|
||||
/**
|
||||
* ErrorController
|
||||
*/
|
||||
@ApiIgnore
|
||||
@Controller
|
||||
@RequestMapping("${server.error.path:${error.path:/error}}")
|
||||
public class ExceptionController extends AbstractErrorController {
|
||||
|
||||
Reference in New Issue
Block a user