9 Spring Boot - shuzi323/java-study GitHub Wiki

  • @Controller:修饰class,用来创建处理http请求的对象。@RestController:默认返回json格式。@RequestMapping:配置url映射