Spring Boot三種啓動方式

1. 使用註解@GetMapping註解在IDEA中啓動java @RestController//至關於整個類中全部方法的返回值都爲json字符串 public class HelloController { @GetMapping("/hello")//新版本註解 //@RequestMapping(value = "/hello", method = RequestMetho
相關文章
相關標籤/搜索