回顾 我在之前发布了一篇spring统一返回的文章,最后提到是无法捕获404异常的,这里我们先来测试一下 @RestController public class TestController { @GetMapping("/test") public String insert22() { return "hello"; } } 浏览器请求试一下 http://localhost:8080/xxx 报错 # Whitelabel Error Page This a
了解json (Javascript Object Notation) 网站:http://json.org/ english JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subs