{"id":40181,"date":"2022-11-17T12:48:37","date_gmt":"2023-11-01T19:31:56","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e5%92%8cdoma%e8%bf%9b%e8%a1%8c%e6%96%b0%e8%b6%85%e6%95%8f%e6%8d%b7%e7%9a%84web%e5%bc%80%e5%8f%91\/"},"modified":"2024-04-29T01:08:15","modified_gmt":"2024-04-28T17:08:15","slug":"%e4%bd%bf%e7%94%a8spring-boot%e5%92%8cdoma%e8%bf%9b%e8%a1%8c%e6%96%b0%e8%b6%85%e6%95%8f%e6%8d%b7%e7%9a%84web%e5%bc%80%e5%8f%91","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e5%92%8cdoma%e8%bf%9b%e8%a1%8c%e6%96%b0%e8%b6%85%e6%95%8f%e6%8d%b7%e7%9a%84web%e5%bc%80%e5%8f%91\/","title":{"rendered":"\u4f7f\u7528Spring Boot\u548cDoma\u8fdb\u884c&#8221;\u65b0&#8221;\u8d85\u654f\u6377\u7684Web\u5f00\u53d1"},"content":{"rendered":"<h3>\u9996\u5148<\/h3>\n<p>Seasar2\u7684\u8bb8\u591aJava\u4ea7\u54c1\uff0c<br \/>\n\u5c24\u5176\u662fSAStruts\u3001S2JDBC\u548cS2DAO\u5c06\u4e8e2016\u5e749\u670826\u65e5\u505c\u6b62\u7ef4\u62a4\uff0c<br \/>\n\u56e0\u6b64\uff0c\u5728\u4eca\u540e\u4f7f\u7528Java\u521b\u5efaWeb\u5e94\u7528\u7a0b\u5e8f\u65f6\uff0c\u5e94\u8be5\u4f7f\u7528\u54ea\u4e2a\u6846\u67b6\u3002<\/p>\n<p>\u4ece\u6211\u8c03\u67e5\u7684\u60c5\u51b5\u6765\u770b\uff0c\u5982\u679c\u60f3\u8981\u5b9e\u73b0\u4e0eSeasar2\u7c7b\u4f3c\u7684\u5f00\u53d1\u6548\u679c\uff0c\u6700\u597d\u9009\u62e9Spring Boot + Doma\u3002<\/p>\n<p>\u6240\u4ee5\uff0c\u8fd9\u4e9b\u76f8\u5173\u7684\u5907\u5fd8\u5f55\u3002\uff08\u5c06\u968f\u65f6\u6dfb\u52a0\u4fee\u8ba2\uff09<\/p>\n<h3>\u642d\u5efa\u5f00\u53d1\u73af\u5883<\/h3>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>JDK<\/ol>\n<\/li>\n<\/ol>\n<p>\u8fd9\u91cc\u4f7f\u7528JDK 8\u3002<\/p>\n<p>\u4ecehttp:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/index.html\u4e0b\u8f7d\u5e76\u5b89\u88c5\u3002<\/p>\n<p>Spring Tool Suite\uff08\u4ee5\u4e0b\u7b80\u79f0STS\uff09<\/p>\n<p>\u662f\u5728Eclipse\u4e2d\u6346\u7ed1\u4e86\u7528\u4e8eSpring\u5f00\u53d1\u7684\u63d2\u4ef6\u96c6\u5408\u3002<br \/>\n\u8fd9\u91cc\u4f7f\u7528\u7248\u672c3.8.1\u3002<\/p>\n<p>\u4ecehttp:\/\/spring.io\/tools\/sts\u4e0b\u8f7d\u5e76\u5b89\u88c5\u3002<\/p>\n<p>Doma Tools\uff08Eclipse\u63d2\u4ef6\uff09<\/p>\n<p>\u6709Doma1\u548cDoma2\uff0c\u4f46\u8fd9\u91cc\u4f7f\u7528\u7684\u662fDoma2\u3002<br \/>\n\u5728STS\u542f\u52a8\u540e\uff0c\u901a\u8fc7[Install New Software]\u4ecehttp:\/\/dl.bintray.com\/domaframework\/eclipse\/\u5b89\u88c5\u3002<\/p>\n<p>Buildship Gradle Integration\uff08Eclipse\u63d2\u4ef6\uff09<\/p>\n<p>\u5728STS\u542f\u52a8\u540e\uff0c\u901a\u8fc7[Eclipse Marketplace]\u5b89\u88c5\u3002<br \/>\n\u8fd8\u6709\u4e00\u4e2a\u540d\u4e3aGradle IDE Pack\u7684\u9009\u9879\uff0c\u4f46\u636e\u8bf4\u660e\uff0c\u5b83\u5c06\u88ab\u5e9f\u5f03\uff0c\u56e0\u6b64\u5728\u8fd9\u91cc\u4f7f\u7528Buildship Gradle Integration\u3002<\/p>\n<h3>\u9879\u76ee\u521b\u5efa\u548c\u8bbe\u7f6e<\/h3>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u542f\u52a8STS\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u521b\u5efa\u9879\u76ee\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>\u9009\u62e9[\u6587\u4ef6]-[\u65b0\u5efa]-[Spring Starter\u9879\u76ee]\u3002<br \/>\n\u6309\u7167\u4ee5\u4e0b\u6307\u5b9a\u521b\u5efa\u9879\u76ee\u3002<\/p>\n<p>[\u540d\u79f0]\uff1aExample<br \/>\n[\u7c7b\u578b]\uff1aGradle\uff08Buildship\uff09<br \/>\n[\u6253\u5305\u65b9\u5f0f]\uff1aJar<br \/>\n[Java \u7248\u672c]\uff1a1.8<br \/>\n[\u8bed\u8a00]\uff1aJava<br \/>\n[Spring Boot \u7248\u672c]\uff1a1.4.1 (SNAPSHOT)<br \/>\n[\u4f9d\u8d56]\uff1a<\/p>\n<p>Web<br \/>\nDevTools<br \/>\nTymeleaf<br \/>\nMySQL<\/p>\n<p>\u5176\u4ed6\uff1a\u4fdd\u6301\u9ed8\u8ba4\u8bbe\u7f6e<\/p>\n<p>\u7f16\u8f91build.gradle\u6587\u4ef6\u3002<\/p>\n<p>\u91cd\u70b9\uff1a<\/p>\n<p>\u5c06\u8f93\u51fa\u7684Java\u7c7b\u548cSQL\u6587\u4ef6\u7684\u8f93\u51fa\u76ee\u5f55\u8bbe\u7f6e\u4e3a\u76f8\u540c\u3002<\/p>\n<p>processResources.destinationDir = compileJava.destinationDir<\/p>\n<p>\u4e3a\u4e86\u5728\u7f16\u8bd1\u4e4b\u524d\u5c06SQL\u6587\u4ef6\u590d\u5236\u5230\u8f93\u51fa\u76ee\u5f55\uff0c\u53cd\u8f6c\u4f9d\u8d56\u5173\u7cfb\u3002<\/p>\n<p>compileJava.dependsOn processResources<\/p>\n<p>\u6dfb\u52a0Doma\u76f8\u5173\u7684Maven\u5e93\u548c\u4f9d\u8d56\u5173\u7cfb\u3002<\/p>\n<p>https:\/\/oss.sonatype.org\/content\/repositories\/snapshots\/<br \/>\ncompile(&#8216;org.seasar.doma.boot:doma-spring-boot-starter:1.1.0&#8217;)<br \/>\ndomaGenRuntime(&#8216;org.seasar.doma:doma-gen:2.12.1&#8217;)<\/p>\n<p>\u521b\u5efadomGen\u4efb\u52a1\u3002<\/p>\n<p>\u914d\u7f6e\u793a\u4f8b\uff1a<\/p>\n<p>https:\/\/gist.github.com\/cacarrot\/7bfa164511f1b461605c686d43446c22<\/p>\n<p>\u914d\u7f6e\u9879\u76ee\u3002<\/p>\n<p>\u83b7\u53d6Doma\u5e93\u5e76\u5b58\u50a8\u5728\u9879\u76ee\u7684\/lib\u6587\u4ef6\u5939\u4e2d\u3002<\/p>\n<p>\u6839\u636e\u5728build.gradle\u4e2d\u8bbe\u7f6e\u7684\u4f9d\u8d56\u5173\u7cfb\uff0c\u5e94\u8be5\u4f1a\u4e0b\u8f7d\u5230\u4ee5\u4e0b\u8def\u5f84\u3002\u5c06\u5176\u590d\u5236\u5e76\u5b58\u50a8\u3002<\/p>\n<p>~\/.gradle\/caches\/modules-2\/files-2.1\/org.seasar.doma\/doma\/2.12.0\/df98f42d23e149ff699c0ccd2a0997e974a55a14\/doma-2.12.0.jar<\/p>\n<p>\u6253\u5f00\u521b\u5efa\u7684\u9879\u76ee\u7684\u5c5e\u6027\u3002<\/p>\n<p>\u5728[Java\u7f16\u8bd1\u5668]-[\u6ce8\u89e3\u5904\u7406]\u4e2d\u6307\u5b9a\u4ee5\u4e0b\u5185\u5bb9\u3002<\/p>\n<p>[\u542f\u7528\u9879\u76ee\u7279\u5b9a\u8bbe\u7f6e]\uff1a\u52fe\u9009<br \/>\n\u5176\u4ed6\uff1a\u4fdd\u6301\u9ed8\u8ba4\u8bbe\u7f6e<\/p>\n<p>\u5728[Java\u7f16\u8bd1\u5668]-[\u6ce8\u89e3\u5904\u7406]-[\u5de5\u5382\u8def\u5f84]\u4e2d\u6307\u5b9a\u4ee5\u4e0b\u5185\u5bb9\u3002<\/p>\n<p>[\u542f\u7528\u9879\u76ee\u7279\u5b9a\u8bbe\u7f6e]\uff1a\u52fe\u9009<br \/>\n\u4f7f\u7528[\u6dfb\u52a0JAR\u6587\u4ef6]\u6dfb\u52a0Doma\u5e93<\/p>\n<p>{\u9879\u76ee\u540d\u79f0}\/lib\/doma-2.12.0.jar<\/p>\n<p>\u5176\u4ed6\uff1a\u4fdd\u6301\u9ed8\u8ba4\u8bbe\u7f6e<\/p>\n<h3>\u901a\u8fc7Doma-Gen\u7684DAO\u548cEntity\u81ea\u52a8\u751f\u6210<\/h3>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u5728\u4e8b\u524d\u901a\u8fc7STS\u7684[Window]-[Show View]\u83dc\u5355\u4e2d\u663e\u793a[Gradle Tasks]\u89c6\u56fe\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u5728[Gradle Tasks]\u89c6\u56fe\u4e2d\u53f3\u51fb\u9879\u76ee\uff0c\u9009\u62e9[Create Gradle Run Configuration]\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u586b\u5199\u4ee5\u4e0b\u5185\u5bb9\u540e\u70b9\u51fbOK\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>\u540d\u79f0\uff1a\u968f\u610f\u7684\u540d\u79f0\uff08\u4f8b\u5982\uff1aExample &#8211; domaGen\uff09<br \/>\nGradle Tasks\uff1adomaGen\uff08\u5728build.gradle\u4e2d\u5b9a\u4e49\u7684\u4efb\u52a1\u540d\u79f0\uff09<\/p>\n<p>\u8fd0\u884c\u4fdd\u5b58\u7684\u914d\u7f6e\u540e\uff0cDoma-Gen\u5c06\u5f00\u59cb\u6267\u884c\uff0c\u81ea\u52a8\u751f\u6210DAO\u548cEntity\uff08\u5728\u6e90\u4ee3\u7801\u6587\u4ef6\u5939\u4e0b\uff09\uff0c\u4ee5\u53caSQL\u6587\u4ef6\uff08\u5728META-INF\u6587\u4ef6\u5939\u4e0b\uff09\u3002<\/p>\n<h3>Spring Boot\u548cDoma\u7684\u5408\u4f5c<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30dd\u30a4\u30f3\u30c8<\/ul>\n<\/li>\n<\/ul>\n<p>doma-spring-boot-starter\u306e\u8a2d\u5b9a\u3092\u5229\u7528\u3059\u308b\u306b\u306f\u3001Doma-Gen\u3067\u751f\u6210\u3057\u305fDAO\u306b @ConfigAutowireable\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u4ed8\u4e0e\u304c\u5fc5\u8981\u3002<\/p>\n<p>org.seasar.doma.boot.ConfigAutowireable<\/p>\n<p>application.yml\u306e\u8a2d\u5b9a\u306b\u306f\u6700\u4f4e\u9650\u4ee5\u4e0b\u304c\u5fc5\u8981<\/p>\n<p>doma.dialect<br \/>\nspring.datasource.url<br \/>\nspring.datasource.username<br \/>\nspring.datasource.password<br \/>\nspring.datasource.driver-class-name<\/p>\n<h3>\u8bf7\u53c2\u8003\u4ee5\u4e0b\u7f51\u5740\u3002<\/h3>\n<p>Doma\u95a2\u9023<\/p>\n<p>http:\/\/doma.readthedocs.io\/ja\/stable\/<br \/>\nhttp:\/\/doma-gen.readthedocs.io\/ja\/stable\/<\/p>\n<p>Spring Boot\u95a2\u9023<\/p>\n<p>http:\/\/docs.spring.io\/spring-boot\/docs\/current-SNAPSHOT\/reference\/htmlsingle\/<br \/>\nhttp:\/\/jsug-spring-boot-handson.readthedocs.io\/en\/latest\/index.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148 Seasar2\u7684\u8bb8\u591aJava\u4ea7\u54c1\uff0c \u5c24\u5176\u662fSAStruts\u3001S2JDBC\u548cS2DAO\u5c06\u4e8e2016\u5e749\u67082 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-40181","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4f7f\u7528Spring Boot\u548cDoma\u8fdb\u884c&quot;\u65b0&quot;\u8d85\u654f\u6377\u7684Web\u5f00\u53d1 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528spring-boot\u548cdoma\u8fdb\u884c\u65b0\u8d85\u654f\u6377\u7684web\u5f00\u53d1\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528Spring Boot\u548cDoma\u8fdb\u884c&quot;\u65b0&quot;\u8d85\u654f\u6377\u7684Web\u5f00\u53d1\" \/>\n<meta property=\"og:description\" content=\"\u9996\u5148 Seasar2\u7684\u8bb8\u591aJava\u4ea7\u54c1\uff0c \u5c24\u5176\u662fSAStruts\u3001S2JDBC\u548cS2DAO\u5c06\u4e8e2016\u5e749\u67082 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528spring-boot\u548cdoma\u8fdb\u884c\u65b0\u8d85\u654f\u6377\u7684web\u5f00\u53d1\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-01T19:31:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-28T17:08:15+00:00\" \/>\n<meta name=\"author\" content=\"\u79d1, \u96c5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u96c5\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e5%92%8cdoma%e8%bf%9b%e8%a1%8c%e6%96%b0%e8%b6%85%e6%95%8f%e6%8d%b7%e7%9a%84web%e5%bc%80%e5%8f%91\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e5%92%8cdoma%e8%bf%9b%e8%a1%8c%e6%96%b0%e8%b6%85%e6%95%8f%e6%8d%b7%e7%9a%84web%e5%bc%80%e5%8f%91\/\",\"name\":\"\u4f7f\u7528Spring Boot\u548cDoma\u8fdb\u884c\\\"\u65b0\\\"\u8d85\u654f\u6377\u7684Web\u5f00\u53d1 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-11-01T19:31:56+00:00\",\"dateModified\":\"2024-04-28T17:08:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e5%92%8cdoma%e8%bf%9b%e8%a1%8c%e6%96%b0%e8%b6%85%e6%95%8f%e6%8d%b7%e7%9a%84web%e5%bc%80%e5%8f%91\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e5%92%8cdoma%e8%bf%9b%e8%a1%8c%e6%96%b0%e8%b6%85%e6%95%8f%e6%8d%b7%e7%9a%84web%e5%bc%80%e5%8f%91\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e5%92%8cdoma%e8%bf%9b%e8%a1%8c%e6%96%b0%e8%b6%85%e6%95%8f%e6%8d%b7%e7%9a%84web%e5%bc%80%e5%8f%91\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528Spring Boot\u548cDoma\u8fdb\u884c&#8221;\u65b0&#8221;\u8d85\u654f\u6377\u7684Web\u5f00\u53d1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\",\"name\":\"\u79d1, \u96c5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u96c5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e5%92%8cdoma%e8%bf%9b%e8%a1%8c%e6%96%b0%e8%b6%85%e6%95%8f%e6%8d%b7%e7%9a%84web%e5%bc%80%e5%8f%91\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528Spring Boot\u548cDoma\u8fdb\u884c\"\u65b0\"\u8d85\u654f\u6377\u7684Web\u5f00\u53d1 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528spring-boot\u548cdoma\u8fdb\u884c\u65b0\u8d85\u654f\u6377\u7684web\u5f00\u53d1\/","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528Spring Boot\u548cDoma\u8fdb\u884c\"\u65b0\"\u8d85\u654f\u6377\u7684Web\u5f00\u53d1","og_description":"\u9996\u5148 Seasar2\u7684\u8bb8\u591aJava\u4ea7\u54c1\uff0c \u5c24\u5176\u662fSAStruts\u3001S2JDBC\u548cS2DAO\u5c06\u4e8e2016\u5e749\u67082 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528spring-boot\u548cdoma\u8fdb\u884c\u65b0\u8d85\u654f\u6377\u7684web\u5f00\u53d1\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-11-01T19:31:56+00:00","article_modified_time":"2024-04-28T17:08:15+00:00","author":"\u79d1, \u96c5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u96c5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e5%92%8cdoma%e8%bf%9b%e8%a1%8c%e6%96%b0%e8%b6%85%e6%95%8f%e6%8d%b7%e7%9a%84web%e5%bc%80%e5%8f%91\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e5%92%8cdoma%e8%bf%9b%e8%a1%8c%e6%96%b0%e8%b6%85%e6%95%8f%e6%8d%b7%e7%9a%84web%e5%bc%80%e5%8f%91\/","name":"\u4f7f\u7528Spring Boot\u548cDoma\u8fdb\u884c\"\u65b0\"\u8d85\u654f\u6377\u7684Web\u5f00\u53d1 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-11-01T19:31:56+00:00","dateModified":"2024-04-28T17:08:15+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e5%92%8cdoma%e8%bf%9b%e8%a1%8c%e6%96%b0%e8%b6%85%e6%95%8f%e6%8d%b7%e7%9a%84web%e5%bc%80%e5%8f%91\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e5%92%8cdoma%e8%bf%9b%e8%a1%8c%e6%96%b0%e8%b6%85%e6%95%8f%e6%8d%b7%e7%9a%84web%e5%bc%80%e5%8f%91\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e5%92%8cdoma%e8%bf%9b%e8%a1%8c%e6%96%b0%e8%b6%85%e6%95%8f%e6%8d%b7%e7%9a%84web%e5%bc%80%e5%8f%91\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528Spring Boot\u548cDoma\u8fdb\u884c&#8221;\u65b0&#8221;\u8d85\u654f\u6377\u7684Web\u5f00\u53d1"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a","name":"\u79d1, \u96c5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","caption":"\u79d1, \u96c5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e5%92%8cdoma%e8%bf%9b%e8%a1%8c%e6%96%b0%e8%b6%85%e6%95%8f%e6%8d%b7%e7%9a%84web%e5%bc%80%e5%8f%91\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=40181"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40181\/revisions"}],"predecessor-version":[{"id":70562,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40181\/revisions\/70562"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=40181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=40181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=40181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}