{"id":40227,"date":"2023-09-10T11:55:09","date_gmt":"2024-02-05T04:32:15","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%88%b6%e4%bd%9c%e4%ba%86%e4%b8%80%e4%b8%aa%e7%94%a8%e4%ba%8e%e5%88%9b%e5%bb%ba%e5%a4%9a%e8%af%ad%e8%a8%80%e7%9a%84spring%e6%b6%88%e6%81%af%e5%b1%9e%e6%80%a7%e6%96%87%e4%bb%b6%e7%9a%84\/"},"modified":"2024-05-03T23:03:49","modified_gmt":"2024-05-03T15:03:49","slug":"%e6%88%91%e5%88%b6%e4%bd%9c%e4%ba%86%e4%b8%80%e4%b8%aa%e7%94%a8%e4%ba%8e%e5%88%9b%e5%bb%ba%e5%a4%9a%e8%af%ad%e8%a8%80%e7%9a%84spring%e6%b6%88%e6%81%af%e5%b1%9e%e6%80%a7%e6%96%87%e4%bb%b6%e7%9a%84","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%88%b6%e4%bd%9c%e4%ba%86%e4%b8%80%e4%b8%aa%e7%94%a8%e4%ba%8e%e5%88%9b%e5%bb%ba%e5%a4%9a%e8%af%ad%e8%a8%80%e7%9a%84spring%e6%b6%88%e6%81%af%e5%b1%9e%e6%80%a7%e6%96%87%e4%bb%b6%e7%9a%84\/","title":{"rendered":"\u6211\u5236\u4f5c\u4e86\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u591a\u8bed\u8a00\u7684Spring\u6d88\u606f\u5c5e\u6027\u6587\u4ef6\u7684\u5de5\u5177"},"content":{"rendered":"<h1>\u603b\u5219<\/h1>\n<p>\u6700\u8fd1\u5f00\u59cb\u63a5\u89e6Spring Boot\u65f6\uff0c\u6211\u8003\u8651\u662f\u5426\u53ef\u4ee5\u7b80\u5316\u591a\u8bed\u8a00\u652f\u6301\u90e8\u5206\u3002\u540c\u65f6\uff0c\u6211\u4e5f\u60f3\u5c1d\u8bd5\u4f7f\u7528\u5916\u90e8API\u8fdb\u884c\u5f00\u53d1\uff0c\u6240\u4ee5\u6211\u51b3\u5b9a\u52a8\u8d77\u624b\u6765\u5e76\u5c06\u6574\u4e2a\u8fc7\u7a0b\u8bb0\u5f55\u5728\u6587\u7ae0\u4e2d\u3002<\/p>\n<h2>\u8fd9\u7bc7\u6587\u7ae0\u7684\u4e3b\u9898<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Spring Boot\u3092\u6700\u8fd1\u59cb\u3081\u305f\u65b9<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Spring Boot\u3067\u591a\u8a00\u8a9e\u5316\u3057\u3066\u307f\u305f\u3044\u4eba<\/ul>\n<h1>\u5173\u4e8eSpring Boot\u7684\u591a\u8bed\u8a00\u652f\u6301<\/h1>\n<p>\u9996\u5148\uff0c\u5728\u8ba8\u8bba\u6211\u4eec\u8fd9\u6b21\u521b\u5efa\u7684\u5de5\u5177\u4e4b\u524d\uff0c\u6211\u5c06\u544a\u8bc9\u60a8\u6709\u5173Spring Boot\u5e38\u7528\u7684\u591a\u8bed\u8a00\u652f\u6301\u3002 \uff08\u5982\u679c\u60a8\u5df2\u7ecf\u4e86\u89e3\uff0c\u8bf7\u5ffd\u7565\u8fd9\u4e00\u90e8\u5206\uff09<br \/>\n\u5728Spring Boot\u4e2d\uff0c\u901a\u8fc7\u5b9a\u4e49\u6d88\u606f\u5c5e\u6027\uff08Message Properties\uff09\uff0c\u60a8\u53ef\u4ee5\u9884\u5148\u5b9a\u4e49\u6587\u672c\uff0c\u7136\u540e\u6839\u636e\u6d4f\u89c8\u5668\u7684\u8bed\u8a00\u8bbe\u7f6e\u81ea\u52a8\u66f4\u6539HTML\u4e2d\u7684\u6587\u672c\u3002\u53e6\u5916\uff0c\u4f7f\u7528\u6d88\u606f\u5c5e\u6027\uff0c\u5728\u9700\u8981\u66f4\u6539\u6587\u672c\u65f6\uff0c\u65e0\u9700\u4fee\u6539HTML\u6587\u4ef6\uff0c\u5c31\u53ef\u4ee5\u8fdb\u884c\u76f8\u5e94\u7684\u5904\u7406\uff0c\u8fd9\u4e5f\u662f\u4e00\u4e2a\u4f18\u70b9\u3002<\/p>\n<h2>\u6d88\u606f\u5c5e\u6027\u7684\u4f7f\u7528\u793a\u4f8b (Messa\u0304ji pro\u0304pati shiyong li\u030c)<\/h2>\n<p>\u4f5c\u4e3a\u6b65\u9aa4\uff0c\u5f88\u7b80\u5355\uff0c\u53ea\u9700\u521b\u5efa\u4e00\u4e2a\u540d\u4e3amessages.properties\u7684\u6587\u4ef6\uff0c\u5e76\u6839\u636e\u6bcf\u79cd\u8bed\u8a00\u5206\u522b\u5b58\u50a8\u3002<\/p>\n<p>\u6211\u5c06\u57fa\u4e8e\u4e4b\u524d\u4f7f\u7528Spring\u91cd\u65b0\u5236\u4f5c\u7684\u5185\u5bb9\uff0c\u4ee5\u4e00\u4e2a\u4f8b\u5b50\u4ecb\u7ecd\u6211\u4ee5\u524d\u4f7f\u7528Python\uff08Flask\uff09\u521b\u5efa\u7684\u5185\u5bb9\u3002<br \/>\nFlask\u7248\u672c\u4e2d\u521b\u5efa\u7684\u6587\u7ae0<br \/>\nSpring\u7248\u672c<\/p>\n<p>\u9996\u5148\uff0c\u5728HTML\u4e2d\u51c6\u5907\u597d\u4ee5\u4e0b\u793a\u4f8b\u4e2d\u60f3\u8981\u663e\u793a\u7684\u6587\u672c\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># \u65e5\u672c\u8a9e\u7528\r\n<\/span>\r\n<span class=\"py\">greeting.heading1<\/span><span class=\"p\">=<\/span><span class=\"s\">\u2606\u4e09\u7a2e\u306e\u6328\u62f6\u2606<\/span>\r\n<span class=\"py\">greeting.description<\/span><span class=\"p\">=<\/span><span class=\"s\">\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u305f\u3073\u306b\u4e09\u7a2e\u985e\u306e\u6328\u62f6\u304b\u3089\u4e00\u3064\u51fa\u529b\u3055\u308c\u308b\u305e\uff01<\/span>\r\n<span class=\"py\">greeting.button<\/span><span class=\"p\">=<\/span><span class=\"s\">\u6328\u62f6<\/span>\r\n<span class=\"py\">greeting.item<\/span><span class=\"p\">=<\/span><span class=\"s\">\u6328\u62f6\uff1a<\/span>\r\n<span class=\"py\">greeting.instructions<\/span><span class=\"p\">=<\/span><span class=\"s\">\u4e0a\u306e\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u306d<\/span>\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"c\"># \u82f1\u8a9e\u7528\r\n<\/span>\r\n<span class=\"py\">greeting.heading1<\/span><span class=\"p\">=<\/span><span class=\"s\">\u2606Three types of greetings\u2606<\/span>\r\n<span class=\"py\">greeting.description<\/span><span class=\"p\">=<\/span><span class=\"s\">Each time you click the button, one of three types of greetings will be output!<\/span>\r\n<span class=\"py\">greeting.button<\/span><span class=\"p\">=<\/span><span class=\"s\">greeting<\/span>\r\n<span class=\"py\">greeting.item<\/span><span class=\"p\">=<\/span><span class=\"s\">GREETING\uff1a<\/span>\r\n<span class=\"py\">greeting.instructions<\/span><span class=\"p\">=<\/span><span class=\"s\">press the button above<\/span>\r\n<\/code><\/pre>\n<p>\u53ea\u9700\u4e00\u79cd\u65b9\u5f0f\uff0c\u6839\u636e\u4e0a\u8ff0\u5b9a\u4e49\u5c06\u5185\u5bb9\u5d4c\u5165\u5230HTML\u4e2d\u3002<br \/>\n\u5d4c\u5165\u7684\u65b9\u5f0f\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nt\">&lt;\u30bf\u30b0<\/span> <span class=\"na\">th:text=<\/span><span class=\"s\">\"#{\u5b9a\u7fa9\u3057\u305f\u5909\u6570\u540d}\"<\/span><span class=\"nt\">&gt;&lt;\u30bf\u30b0&gt;<\/span>\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"cp\">&lt;!DOCTYPE html&gt;<\/span>\r\n<span class=\"nt\">&lt;html<\/span> <span class=\"na\">xmlns:th=<\/span><span class=\"s\">\"http:\/\/www.thymeleaf.org\"<\/span> <span class=\"na\">xmlns:layout=<\/span><span class=\"s\">\"http:\/\/www.ultraq.net.nz\/thymeleaf\/layout\"<\/span>\r\n  <span class=\"na\">layout:decorate=<\/span><span class=\"s\">\"~{layout\/layout}\"<\/span><span class=\"nt\">&gt;<\/span>\r\n\r\n<span class=\"nt\">&lt;head&gt;<\/span>\r\n  <span class=\"nt\">&lt;title&gt;<\/span>RandomGreeting<span class=\"nt\">&lt;\/title&gt;<\/span>\r\n  <span class=\"nt\">&lt;script <\/span><span class=\"na\">th:src=<\/span><span class=\"s\">\"@{\/js\/greeting\/greeting.js}\"<\/span> <span class=\"na\">defer<\/span><span class=\"nt\">&gt;&lt;\/script&gt;<\/span>\r\n<span class=\"nt\">&lt;\/head&gt;<\/span>\r\n\r\n<span class=\"nt\">&lt;body&gt;<\/span>\r\n  <span class=\"nt\">&lt;div<\/span> <span class=\"na\">layout:fragment=<\/span><span class=\"s\">\"content\"<\/span><span class=\"nt\">&gt;<\/span>\r\n    <span class=\"nt\">&lt;h1<\/span> <span class=\"na\">th:text=<\/span><span class=\"s\">\"#{greeting.heading1}\"<\/span><span class=\"nt\">&gt;&lt;\/h1&gt;<\/span>\r\n    <span class=\"nt\">&lt;p<\/span> <span class=\"na\">th:text=<\/span><span class=\"s\">\"#{greeting.description}\"<\/span><span class=\"nt\">&gt;&lt;\/p&gt;<\/span>\r\n    <span class=\"nt\">&lt;button<\/span> <span class=\"na\">id=<\/span><span class=\"s\">\"btn-search\"<\/span> <span class=\"na\">type=<\/span><span class=\"s\">\"button\"<\/span> <span class=\"na\">th:text=<\/span><span class=\"s\">\"#{greeting.button}\"<\/span><span class=\"nt\">&gt;&lt;\/button&gt;<\/span>\r\n    <span class=\"nt\">&lt;br&gt;<\/span>\r\n    <span class=\"nt\">&lt;span<\/span> <span class=\"na\">th:text=<\/span><span class=\"s\">\"#{greeting.item}\"<\/span><span class=\"nt\">&gt;&lt;\/span&gt;<\/span>\r\n    <span class=\"nt\">&lt;span<\/span> <span class=\"na\">id=<\/span><span class=\"s\">\"greeting\"<\/span> <span class=\"na\">th:text=<\/span><span class=\"s\">\"#{greeting.instructions}\"<\/span><span class=\"nt\">&gt;&lt;\/span&gt;<\/span>\r\n    <span class=\"nt\">&lt;br&gt;<\/span>\r\n    <span class=\"nt\">&lt;img<\/span> <span class=\"na\">id=<\/span><span class=\"s\">\"greetingImage\"<\/span> <span class=\"na\">width=<\/span><span class=\"s\">\"256\"<\/span> <span class=\"na\">height=<\/span><span class=\"s\">\"256\"<\/span> <span class=\"na\">src=<\/span><span class=\"s\">\"http:\/\/urx3.nu\/Zlxt\"<\/span><span class=\"nt\">&gt;<\/span>\r\n    <span class=\"nt\">&lt;p<\/span> <span class=\"na\">hidden<\/span> <span class=\"na\">id=<\/span><span class=\"s\">greetingId<\/span> <span class=\"na\">th:text=<\/span><span class=\"s\">\"#{greeting.defaultId}\"<\/span><span class=\"nt\">&gt;&lt;\/p&gt;<\/span>\r\n  <span class=\"nt\">&lt;\/div&gt;<\/span>\r\n<span class=\"nt\">&lt;\/body&gt;<\/span>\r\n\r\n<span class=\"nt\">&lt;\/html&gt;<\/span>\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3ee637434c4406c8c85c\/15-0.png\" alt=\"image.png\" \/><\/div>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3ee637434c4406c8c85c\/16-1.png\" alt=\"image.png\" \/><\/div>\n<h2>\u6240\u611f\u53d7\u5230\u7684\u95ee\u9898<\/h2>\n<p>\u7136\u800c\uff0c\u5982\u679c\u8981\u521b\u5efa\u591a\u79cd\u8bed\u8a00\u7684messages.properties\u6587\u4ef6\uff0c\u6211\u8ba4\u4e3a\u4f1a\u975e\u5e38\u9ebb\u70e6\u3002<br \/>\n\u793a\u4f8b\u4e2d\u7684\u6587\u672c\u91cf\u76f8\u5f53\u5c11\uff0c\u53ea\u6709\u65e5\u8bed\u548c\u82f1\u8bed\uff0c\u4f46\u5b9e\u9645\u4e0a\u8fd8\u9700\u8981\u663e\u793a\u66f4\u591a\u7684\u7cfb\u7edf\u3002<br \/>\n\u56e0\u6b64\uff0c\u6211\u521b\u5efa\u4e86\u4e00\u4e2a\u5de5\u5177\uff0c\u53ef\u4ee5\u4ece\u57fa\u672c\u7684\u5355\u8bed\u8a00messages.properties\u6587\u4ef6\u81ea\u52a8\u521b\u5efa\u591a\u8bed\u8a00\u7248\u672c\uff0c\u5e76\u5728\u8fd9\u91cc\u4ecb\u7ecd\u4e00\u4e0b\u3002<br \/>\n\uff08\u81ea\u52a8\u5316\u662f\u4e3a\u4e86\u89e3\u51b3\u7e41\u7410\u7684\u95ee\u9898\uff01\uff09<\/p>\n<h1>\u4ecb\u7ecd\u6240\u521b\u5efa\u7684\u5de5\u5177<\/h1>\n<h2>\u8fd9\u6b21\u4f7f\u7528\u7684\u4e1c\u897f<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Spring Boot<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">H2 Database<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Deepl API<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u203b \u4ed6\u30e9\u30a4\u30d6\u30e9\u30ea\u7b49\u306f\u6c17\u306b\u306a\u3089\u308c\u308b\u65b9\u306f\u5f8c\u8ff0\u306egithub\u30ea\u30f3\u30af\u3088\u308apom.xml\u3092\u62dd\u898b\u3057\u3066\u898b\u3066\u304f\u3060\u3055\u3044\u3002<\/ul>\n<h3>\u6625\u5b63\u542f\u52a8<\/h3>\n<p>\u4f7f\u7528Spring Boot\u53ef\u4ee5\u8f7b\u677e\u5f00\u59cb\u5f00\u53d1Spring\u5e94\u7528\u7a0b\u5e8f\u3002<br \/>\nSpring\u5728\u521d\u59cb\u8bbe\u7f6e\u65f6\u521b\u5efaxml\u6587\u4ef6\u975e\u5e38\u56f0\u96be\u3002<br \/>\n\u7136\u800c\uff0c\u4f7f\u7528Spring Boot\u53ea\u9700\u9009\u62e9\u8981\u4f7f\u7528\u7684\u529f\u80fd\uff0c\u5b83\u4f1a\u81ea\u52a8\u5b8c\u6210\u6240\u9700\u7684\u521d\u59cb\u8bbe\u7f6e\u3002<br \/>\n\u6b64\u5916\uff0c\u901a\u8fc7\u4ec5\u66f4\u6539\u5c5e\u6027\u503c\uff0c\u8fd8\u53ef\u4ee5\u8f7b\u677e\u8fdb\u884c\u540e\u7eed\u7684\u914d\u7f6e\u66f4\u6539\u3002<\/p>\n<blockquote><p>\u4f7f\u7528Spring Boot\u53ef\u4ee5\u8f7b\u677e\u5730\u521b\u5efa\u53ef\u6267\u884c\u7684\u72ec\u7acb\u751f\u4ea7\u7ea7\u522b\u7684\u57fa\u4e8eSpring\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u901a\u8fc7\u9075\u5faaSpring Boot\u7684\u7ea6\u5b9a\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u5f00\u59cb\u4f7f\u7528Spring\u5e73\u53f0\u548c\u7b2c\u4e09\u65b9\u5e93\uff0c\u51cf\u5c11\u4e86\u6700\u4f4e\u9650\u5ea6\u7684\u5de5\u4f5c\u91cf\u3002\u5927\u90e8\u5206Spring Boot\u5e94\u7528\u7a0b\u5e8f\u4e0d\u9700\u8981\u8fdb\u884cSpring\u7684\u914d\u7f6e\u3002<\/p><\/blockquote>\n<h3>H2 \u6570\u636e\u5e93<\/h3>\n<p>\u8fd9\u662f\u4e00\u79cd\u53ef\u5728Java\u73af\u5883\u4e0b\u8fd0\u884c\u7684\u5185\u5b58\u6570\u636e\u5e93\u3002\u65e0\u9700\u5b89\u88c5\u5373\u53ef\u8f7b\u677e\u5d4c\u5165\u548c\u4f7f\u7528\u3002\u9002\u7528\u4e8e\u4e0d\u9700\u8981\u6301\u4e45\u4fdd\u5b58\u6570\u636e\u7684\u573a\u5408\u3002<\/p>\n<blockquote><p>\u7279\u70b9<\/p>\n<p>\u975e\u5e38\u5feb\u901f\u7684\u5f00\u6e90JDBC API<br \/>\n\u5d4c\u5165\u5f0f\u6a21\u5f0f\u548c\u670d\u52a1\u5668\u6a21\u5f0f\uff0c\u652f\u6301\u57fa\u4e8e\u78c1\u76d8\u6216\u5185\u5b58\u7684\u6570\u636e\u5e93<br \/>\n\u4e8b\u52a1\u652f\u6301\uff0c\u540c\u65f6\u8fd0\u884c\u591a\u4e2a\u7248\u672c<br \/>\n\u57fa\u4e8e\u6d4f\u89c8\u5668\u7684\u63a7\u5236\u53f0\u5e94\u7528\u7a0b\u5e8f<br \/>\n\u52a0\u5bc6\u7684\u6570\u636e\u5e93<br \/>\n\u5168\u6587\u641c\u7d22<br \/>\n\u5360\u7528\u7a7a\u95f4\u8f83\u5c0f\uff0c\u7eafJava\uff1a\u7ea62.5 MB\u7684jar\u6587\u4ef6\u5927\u5c0f<br \/>\nODBC\u9a71\u52a8\u7a0b\u5e8f<br \/>\n\u5f15\u7528\u6765\u6e90<\/p><\/blockquote>\n<h3>\u6df1\u5ea6\u5b66\u4e60API<\/h3>\n<p>\u8003\u8651\u5230\u6211\u4eec\u5373\u5c06\u5f00\u53d1\u7684\u5e94\u7528\u7a0b\u5e8f\u9700\u8981\u7ffb\u8bd1\u529f\u80fd\uff0c\u6211\u4eec\u51b3\u5b9a\u4f7f\u7528Deepl API\u4f5c\u4e3a\u5916\u90e8API\u6765\u5b9e\u73b0\u3002<\/p>\n<blockquote><p>\u60a8\u53ef\u4ee5\u901a\u8fc7DeepL API\u4f7f\u7528\u7a0b\u5e8f\u76f4\u63a5\u8bbf\u95eeDeepL\u7684\u673a\u5668\u7ffb\u8bd1\u6280\u672f\uff0c\u4ee5\u9ad8\u7cbe\u5ea6\u5730\u7ffb\u8bd1\u7f51\u7ad9\u548c\u5e94\u7528\u7a0b\u5e8f\u3002<\/p><\/blockquote>\n<h2>I can provide you with a paraphrase of &#8220;\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9&#8221; in Chinese:<\/h2>\n<p>1. \u6e90\u4ee3\u7801<\/p>\n<p>\u6e90\u4ee3\u7801\u5df2\u4e0a\u4f20\u81f3\u4ee5\u4e0b\u7684git\u5e93\u4e2d\u3002<br \/>\n\u6211\u4eec\u4f7f\u7528H2\u6570\u636e\u5e93\uff0c\u6240\u4ee5\u53ea\u9700\u514b\u9686\u5373\u53ef\u76f4\u63a5\u4f7f\u7528\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u7b80\u5355\u7684\u7ed3\u6784\u56fe<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3ee637434c4406c8c85c\/35-0.png\" alt=\"image.png\" \/><\/div>\n<h2>\u5e94\u7528\u65b9\u6cd5<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3ee637434c4406c8c85c\/37-0.png\" alt=\"image.png\" \/><\/div>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3ee637434c4406c8c85c\/38-0.png\" alt=\"image.png\" \/><\/div>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3ee637434c4406c8c85c\/39-0.png\" alt=\"image.png\" \/><\/div>\n<p>\u6211\u6253\u7b97\u5c1d\u8bd5\u4ece\u672c\u5de5\u5177\u7684\u65e5\u6587messages.properties\u6587\u4ef6\u4e2d\u521b\u5efa\u82f1\u6587\u7248\u548c\u4e2d\u6587\u7248\u3002<br \/>\n\u9996\u5148\uff0c\u672c\u5de5\u5177\u7684\u65e5\u6587messages.properties\u6587\u4ef6\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"py\">title<\/span><span class=\"p\">=<\/span><span class=\"s\">SpringMultilingualCreater<\/span>\r\n<span class=\"py\">languageAuto<\/span><span class=\"p\">=<\/span><span class=\"s\">\u81ea\u52d5\u691c\u51fa<\/span>\r\n<span class=\"py\">languageJa<\/span><span class=\"p\">=<\/span><span class=\"s\">\u65e5\u672c\u8a9e<\/span>\r\n<span class=\"py\">languageEn<\/span><span class=\"p\">=<\/span><span class=\"s\">\u82f1\u8a9e<\/span>\r\n<span class=\"py\">languageZh<\/span><span class=\"p\">=<\/span><span class=\"s\">\u4e2d\u56fd\u8a9e<\/span>\r\n\r\n<span class=\"py\">register.heading1<\/span><span class=\"p\">=<\/span><span class=\"s\">API KEY \u767b\u9332\u753b\u9762<\/span>\r\n<span class=\"py\">register.description<\/span><span class=\"p\">=<\/span><span class=\"s\">API\u30ad\u30fc\u3092\u767b\u9332\u3057\u3066\u304f\u3060\u3055\u3044<\/span>\r\n<span class=\"py\">register.button<\/span><span class=\"p\">=<\/span><span class=\"s\">\u767b\u9332<\/span>\r\n\r\n<span class=\"py\">translate.heading1<\/span><span class=\"p\">=<\/span><span class=\"s\">\u30e1\u30c3\u30bb\u30fc\u30b8\u30d7\u30ed\u30d1\u30c6\u30a3\u4f5c\u6210\u30c4\u30fc\u30eb<\/span>\r\n<span class=\"py\">translate.description<\/span><span class=\"p\">=<\/span><span class=\"s\">1\u3064\u306emessages.properties\u304b\u3089\u4ed6\u306e\u8a00\u8a9e\u7248\u3092\u4f5c\u6210\u3057\u307e\u3059<\/span>\r\n<span class=\"py\">translate.sourceLang<\/span><span class=\"p\">=<\/span><span class=\"s\">\u7ffb\u8a33\u5143\u306e\u8a00\u8a9e<\/span>\r\n<span class=\"py\">translate.targetLang<\/span><span class=\"p\">=<\/span><span class=\"s\">\u7ffb\u8a33\u5f8c\u306e\u8a00\u8a9e<\/span>\r\n<span class=\"py\">translate.targetTextPlace<\/span><span class=\"p\">=<\/span><span class=\"s\">\u7ffb\u8a33\u5143\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044<\/span>\r\n<span class=\"py\">translate.button<\/span><span class=\"p\">=<\/span><span class=\"s\">\u5b9f\u884c<\/span>\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3ee637434c4406c8c85c\/42-0.png\" alt=\"image.png\" \/><\/div>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3ee637434c4406c8c85c\/43-1.png\" alt=\"image.png\" \/><\/div>\n<p>\u901a\u8fc7\u786e\u8ba4\uff0c\u6211\u4eec\u53ef\u4ee5\u786e\u5b9a\u8fd9\u5df2\u7ecf\u6210\u529f\u5730\u8f6c\u6362\u6210\u82f1\u6587\u4e86\u3002<br \/>\n\u5982\u679c\u6211\u4eec\u80fd\u591f\u521b\u5efa\u4e00\u4e2amessages.properties\u6587\u4ef6\uff0c\u5269\u4f59\u7684\u90e8\u5206\u5c31\u53ef\u4ee5\u4f7f\u7528\u81ea\u52a8\u5316\u5de5\u5177\u6765\u5b8c\u6210\u3002<\/p>\n<h1>\u603b\u7ed3<\/h1>\n<p>\u672c\u6587\u4ecb\u7ecd\u4e86\u4f7f\u7528Spring Boot\u5f00\u53d1\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u4e0e\u5916\u90e8API\u7684Deepl API\u8fdb\u884c\u4e86\u96c6\u6210\u3002<\/p>\n<p>\u5b9e\u9645\u4e0a\uff0c\u6211\u7b2c\u4e00\u6b21\u610f\u8bc6\u5230\u53ef\u4ee5\u5c06Java\u7c7b\u7684\u5185\u90e8\u53d8\u91cf\u4e0eJson\u7684\u952e\u540d\u8fdb\u884c\u5173\u8054\u3002<br \/>\nDeepl\u8fd4\u56de\u7684Json\u7684\u8fd4\u56de\u503c\u901a\u5e38\u662f\u86c7\u5f62\u547d\u540d\u6cd5\u3002<br \/>\n\u56e0\u6b64\uff0c\u6700\u521d\u6211\u8ba4\u4e3a\u8981\u5c06Json\u76f4\u63a5\u8f6c\u6362\u4e3aJava\u7c7b\uff0c\u5c31\u5fc5\u987b\u4fee\u6539Java\u7c7b\u7684\u5185\u90e8\u53d8\u91cf\u3002<br \/>\n\u4f46\u662f\uff0c\u6211\u4e86\u89e3\u5230\u53ef\u4ee5\u901a\u8fc7\u6ce8\u89e3\u201c@JsonProperty(&#8220;\u25cb\u25cb_\u25cb\u25cb&#8221;)\u201d\u5c06Json\u7684\u952e\u4e0e\u7c7b\u7684\u5185\u90e8\u53d8\u91cf\u5173\u8054\u8d77\u6765\uff0c\u4ece\u800c\u5728\u5c06Json\u8f6c\u6362\u4e3a\u7c7b\u65f6\u8fdb\u884c\u5173\u8054\u3002<br \/>\n\u8fd9\u6837\uff0c\u5373\u4f7f\u5916\u90e8API\u4f7f\u7528\u86c7\u5f62\u547d\u540d\u6cd5\uff0cJava\u7aef\u4e5f\u80fd\u4fdd\u6301\u9a7c\u5cf0\u547d\u540d\u6cd5\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u7531\u4e8e\u8fd9\u6b21\u6211\u662f\u4e3a\u81ea\u5df1\u505a\u7684\uff0c\u6240\u4ee5\u5927\u90e8\u5206\u90fd\u6ca1\u6709\u8fdb\u884c\u5f02\u5e38\u8f93\u5165\u7b49\u5904\u7406\uff0c\u4ee5\u540e\u4f1a\u5b66\u4e60\u5e76\u786e\u4fdd\u80fd\u591f\u6b63\u786e\u5904\u7406\u3002\uff08UI\u65b9\u9762\u4e5f\u4f1a\u66f4\u52a0\u52aa\u529b\u3002\u3002\uff09<\/p>\n<p>\u7531\u4e8e\u6211\u521a\u521a\u5f00\u59cb\u5b66\u4e60Spring Boot\uff08Java\u672c\u8eab\u4e5f\u51e0\u4e4e\u662f\u521d\u5b66\u8005\uff09\uff0c\u6240\u4ee5\u5982\u679c\u4ee5\u540e\u8fd8\u6709\u53ef\u80fd\u81ea\u52a8\u5316\u7684\u90e8\u5206\uff0c\u6211\u4f1a\u6293\u4f4f\u673a\u4f1a\u53bb\u5c1d\u8bd5\u5e76\u83b7\u5f97\u65b0\u7684\u542f\u53d1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u603b\u5219 \u6700\u8fd1\u5f00\u59cb\u63a5\u89e6Spring Boot\u65f6\uff0c\u6211\u8003\u8651\u662f\u5426\u53ef\u4ee5\u7b80\u5316\u591a\u8bed\u8a00\u652f\u6301\u90e8\u5206\u3002\u540c\u65f6\uff0c\u6211\u4e5f\u60f3\u5c1d\u8bd5\u4f7f\u7528\u5916\u90e8API\u8fdb [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-40227","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>\u6211\u5236\u4f5c\u4e86\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u591a\u8bed\u8a00\u7684Spring\u6d88\u606f\u5c5e\u6027\u6587\u4ef6\u7684\u5de5\u5177 - 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\/\u6211\u5236\u4f5c\u4e86\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u591a\u8bed\u8a00\u7684spring\u6d88\u606f\u5c5e\u6027\u6587\u4ef6\u7684\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6211\u5236\u4f5c\u4e86\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u591a\u8bed\u8a00\u7684Spring\u6d88\u606f\u5c5e\u6027\u6587\u4ef6\u7684\u5de5\u5177\" \/>\n<meta property=\"og:description\" content=\"\u603b\u5219 \u6700\u8fd1\u5f00\u59cb\u63a5\u89e6Spring Boot\u65f6\uff0c\u6211\u8003\u8651\u662f\u5426\u53ef\u4ee5\u7b80\u5316\u591a\u8bed\u8a00\u652f\u6301\u90e8\u5206\u3002\u540c\u65f6\uff0c\u6211\u4e5f\u60f3\u5c1d\u8bd5\u4f7f\u7528\u5916\u90e8API\u8fdb [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u6211\u5236\u4f5c\u4e86\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u591a\u8bed\u8a00\u7684spring\u6d88\u606f\u5c5e\u6027\u6587\u4ef6\u7684\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-05T04:32:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-03T15:03:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3ee637434c4406c8c85c\/15-0.png\" \/>\n<meta name=\"author\" content=\"\u5b87, \u534e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5b87, \u534e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \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\/%e6%88%91%e5%88%b6%e4%bd%9c%e4%ba%86%e4%b8%80%e4%b8%aa%e7%94%a8%e4%ba%8e%e5%88%9b%e5%bb%ba%e5%a4%9a%e8%af%ad%e8%a8%80%e7%9a%84spring%e6%b6%88%e6%81%af%e5%b1%9e%e6%80%a7%e6%96%87%e4%bb%b6%e7%9a%84\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%88%b6%e4%bd%9c%e4%ba%86%e4%b8%80%e4%b8%aa%e7%94%a8%e4%ba%8e%e5%88%9b%e5%bb%ba%e5%a4%9a%e8%af%ad%e8%a8%80%e7%9a%84spring%e6%b6%88%e6%81%af%e5%b1%9e%e6%80%a7%e6%96%87%e4%bb%b6%e7%9a%84\/\",\"name\":\"\u6211\u5236\u4f5c\u4e86\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u591a\u8bed\u8a00\u7684Spring\u6d88\u606f\u5c5e\u6027\u6587\u4ef6\u7684\u5de5\u5177 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2024-02-05T04:32:15+00:00\",\"dateModified\":\"2024-05-03T15:03:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%88%b6%e4%bd%9c%e4%ba%86%e4%b8%80%e4%b8%aa%e7%94%a8%e4%ba%8e%e5%88%9b%e5%bb%ba%e5%a4%9a%e8%af%ad%e8%a8%80%e7%9a%84spring%e6%b6%88%e6%81%af%e5%b1%9e%e6%80%a7%e6%96%87%e4%bb%b6%e7%9a%84\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%88%b6%e4%bd%9c%e4%ba%86%e4%b8%80%e4%b8%aa%e7%94%a8%e4%ba%8e%e5%88%9b%e5%bb%ba%e5%a4%9a%e8%af%ad%e8%a8%80%e7%9a%84spring%e6%b6%88%e6%81%af%e5%b1%9e%e6%80%a7%e6%96%87%e4%bb%b6%e7%9a%84\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%88%b6%e4%bd%9c%e4%ba%86%e4%b8%80%e4%b8%aa%e7%94%a8%e4%ba%8e%e5%88%9b%e5%bb%ba%e5%a4%9a%e8%af%ad%e8%a8%80%e7%9a%84spring%e6%b6%88%e6%81%af%e5%b1%9e%e6%80%a7%e6%96%87%e4%bb%b6%e7%9a%84\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6211\u5236\u4f5c\u4e86\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u591a\u8bed\u8a00\u7684Spring\u6d88\u606f\u5c5e\u6027\u6587\u4ef6\u7684\u5de5\u5177\"}]},{\"@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\/513018e4e121d3add1b7c5de8be21458\",\"name\":\"\u5b87, \u534e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g\",\"caption\":\"\u5b87, \u534e\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yuhua\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%88%b6%e4%bd%9c%e4%ba%86%e4%b8%80%e4%b8%aa%e7%94%a8%e4%ba%8e%e5%88%9b%e5%bb%ba%e5%a4%9a%e8%af%ad%e8%a8%80%e7%9a%84spring%e6%b6%88%e6%81%af%e5%b1%9e%e6%80%a7%e6%96%87%e4%bb%b6%e7%9a%84\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u6211\u5236\u4f5c\u4e86\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u591a\u8bed\u8a00\u7684Spring\u6d88\u606f\u5c5e\u6027\u6587\u4ef6\u7684\u5de5\u5177 - 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\/\u6211\u5236\u4f5c\u4e86\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u591a\u8bed\u8a00\u7684spring\u6d88\u606f\u5c5e\u6027\u6587\u4ef6\u7684\/","og_locale":"zh_CN","og_type":"article","og_title":"\u6211\u5236\u4f5c\u4e86\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u591a\u8bed\u8a00\u7684Spring\u6d88\u606f\u5c5e\u6027\u6587\u4ef6\u7684\u5de5\u5177","og_description":"\u603b\u5219 \u6700\u8fd1\u5f00\u59cb\u63a5\u89e6Spring Boot\u65f6\uff0c\u6211\u8003\u8651\u662f\u5426\u53ef\u4ee5\u7b80\u5316\u591a\u8bed\u8a00\u652f\u6301\u90e8\u5206\u3002\u540c\u65f6\uff0c\u6211\u4e5f\u60f3\u5c1d\u8bd5\u4f7f\u7528\u5916\u90e8API\u8fdb [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u6211\u5236\u4f5c\u4e86\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u591a\u8bed\u8a00\u7684spring\u6d88\u606f\u5c5e\u6027\u6587\u4ef6\u7684\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-02-05T04:32:15+00:00","article_modified_time":"2024-05-03T15:03:49+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3ee637434c4406c8c85c\/15-0.png"}],"author":"\u5b87, \u534e","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u5b87, \u534e","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%88%b6%e4%bd%9c%e4%ba%86%e4%b8%80%e4%b8%aa%e7%94%a8%e4%ba%8e%e5%88%9b%e5%bb%ba%e5%a4%9a%e8%af%ad%e8%a8%80%e7%9a%84spring%e6%b6%88%e6%81%af%e5%b1%9e%e6%80%a7%e6%96%87%e4%bb%b6%e7%9a%84\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%88%b6%e4%bd%9c%e4%ba%86%e4%b8%80%e4%b8%aa%e7%94%a8%e4%ba%8e%e5%88%9b%e5%bb%ba%e5%a4%9a%e8%af%ad%e8%a8%80%e7%9a%84spring%e6%b6%88%e6%81%af%e5%b1%9e%e6%80%a7%e6%96%87%e4%bb%b6%e7%9a%84\/","name":"\u6211\u5236\u4f5c\u4e86\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u591a\u8bed\u8a00\u7684Spring\u6d88\u606f\u5c5e\u6027\u6587\u4ef6\u7684\u5de5\u5177 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2024-02-05T04:32:15+00:00","dateModified":"2024-05-03T15:03:49+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%88%b6%e4%bd%9c%e4%ba%86%e4%b8%80%e4%b8%aa%e7%94%a8%e4%ba%8e%e5%88%9b%e5%bb%ba%e5%a4%9a%e8%af%ad%e8%a8%80%e7%9a%84spring%e6%b6%88%e6%81%af%e5%b1%9e%e6%80%a7%e6%96%87%e4%bb%b6%e7%9a%84\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%88%b6%e4%bd%9c%e4%ba%86%e4%b8%80%e4%b8%aa%e7%94%a8%e4%ba%8e%e5%88%9b%e5%bb%ba%e5%a4%9a%e8%af%ad%e8%a8%80%e7%9a%84spring%e6%b6%88%e6%81%af%e5%b1%9e%e6%80%a7%e6%96%87%e4%bb%b6%e7%9a%84\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%88%b6%e4%bd%9c%e4%ba%86%e4%b8%80%e4%b8%aa%e7%94%a8%e4%ba%8e%e5%88%9b%e5%bb%ba%e5%a4%9a%e8%af%ad%e8%a8%80%e7%9a%84spring%e6%b6%88%e6%81%af%e5%b1%9e%e6%80%a7%e6%96%87%e4%bb%b6%e7%9a%84\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u6211\u5236\u4f5c\u4e86\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u591a\u8bed\u8a00\u7684Spring\u6d88\u606f\u5c5e\u6027\u6587\u4ef6\u7684\u5de5\u5177"}]},{"@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\/513018e4e121d3add1b7c5de8be21458","name":"\u5b87, \u534e","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g","caption":"\u5b87, \u534e"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yuhua\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%88%b6%e4%bd%9c%e4%ba%86%e4%b8%80%e4%b8%aa%e7%94%a8%e4%ba%8e%e5%88%9b%e5%bb%ba%e5%a4%9a%e8%af%ad%e8%a8%80%e7%9a%84spring%e6%b6%88%e6%81%af%e5%b1%9e%e6%80%a7%e6%96%87%e4%bb%b6%e7%9a%84\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40227","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\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=40227"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40227\/revisions"}],"predecessor-version":[{"id":94637,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40227\/revisions\/94637"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=40227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=40227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=40227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}