{"id":157,"date":"2021-04-26T21:18:33","date_gmt":"2021-04-26T13:18:33","guid":{"rendered":"http:\/\/112.124.66.68\/?p=157"},"modified":"2021-04-26T21:18:33","modified_gmt":"2021-04-26T13:18:33","slug":"spring-boot-%e7%9a%84%e6%a0%b8%e5%bf%83%e6%b3%a8%e8%a7%a3%e6%98%af%e5%93%aa%e4%b8%aa%ef%bc%9f%e5%ae%83%e4%b8%bb%e8%a6%81%e7%94%b1%e5%93%aa%e5%87%a0%e4%b8%aa%e6%b3%a8%e8%a7%a3%e7%bb%84%e6%88%90","status":"publish","type":"post","link":"https:\/\/sanlangcode.com\/index.php\/2021\/04\/26\/spring-boot-%e7%9a%84%e6%a0%b8%e5%bf%83%e6%b3%a8%e8%a7%a3%e6%98%af%e5%93%aa%e4%b8%aa%ef%bc%9f%e5%ae%83%e4%b8%bb%e8%a6%81%e7%94%b1%e5%93%aa%e5%87%a0%e4%b8%aa%e6%b3%a8%e8%a7%a3%e7%bb%84%e6%88%90\/","title":{"rendered":"Spring Boot \u7684\u6838\u5fc3\u6ce8\u89e3\u662f\u54ea\u4e2a\uff1f\u5b83\u4e3b\u8981\u7531\u54ea\u51e0\u4e2a\u6ce8\u89e3\u7ec4\u6210\u7684\uff1f"},"content":{"rendered":"\n<p> \u542f\u52a8\u7c7b\u4e0a\u9762\u7684\u6ce8\u89e3\u662f@SpringBootApplication\uff0c\u5b83\u4e5f\u662f Spring Boot \u7684\u6838\u5fc3\u6ce8\u89e3\uff0c<\/p>\n\n\n\n<p>\u4e3b\u8981\u7ec4\u5408\u5305\u542b\u4e86\u4ee5\u4e0b<br>3 \u4e2a\u6ce8\u89e3\uff1a<br>@SpringBootConfiguration\uff1a\u7ec4\u5408\u4e86 @Configuration \u6ce8\u89e3\uff0c\u5b9e\u73b0\u914d\u7f6e\u6587\u4ef6\u7684\u529f\u80fd\u3002<br>@EnableAutoConfiguration\uff1a\u6253\u5f00\u81ea\u52a8\u914d\u7f6e\u7684\u529f\u80fd\uff0c\u4e5f\u53ef\u4ee5\u5173\u95ed\u67d0\u4e2a\u81ea\u52a8\u914d\u7f6e\u7684\u9009\u9879\uff0c\u5982\u5173\u95ed\u6570\u636e\u6e90<br>\u81ea\u52a8\u914d\u7f6e\u529f\u80fd\uff1a @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })\u3002<br>@ComponentScan\uff1aSpring\u7ec4\u4ef6\u626b\u63cf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u542f\u52a8\u7c7b\u4e0a\u9762\u7684\u6ce8\u89e3\u662f@Spring&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":206,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-157","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-springboot"],"_links":{"self":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/comments?post=157"}],"version-history":[{"count":0,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/157\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/media\/206"}],"wp:attachment":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/media?parent=157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/categories?post=157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/tags?post=157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}