{"id":124128,"date":"2026-11-18T15:25:15","date_gmt":"2026-11-18T07:25:15","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/124128.html"},"modified":"2026-11-18T15:25:15","modified_gmt":"2026-11-18T07:25:15","slug":"%e5%9f%ba%e4%ba%8espringboot%e5%ad%a6%e7%94%9f%e6%88%90%e7%bb%a9%e7%ae%a1%e7%90%86%e7%b3%bb%e7%bb%9f-%e9%99%84%e6%ba%90%e7%a0%81","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/124128.html","title":{"rendered":"\u57fa\u4e8eSpringBoot\u5b66\u751f\u6210\u7ee9\u7ba1\u7406\u7cfb\u7edf-\u9644\u6e90\u7801"},"content":{"rendered":"<p>        \/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/<br \/>\n        #content_views .toc,<br \/>\n        \/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/<br \/>\n        #content_views.markdown_views &gt; p:empty:has(+ .toc),<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty,<br \/>\n        \/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/<br \/>\n        #content_views.htmledit_views #main-toc,<br \/>\n        #content_views.htmledit_views #hr-toc,<br \/>\n        #content_views.htmledit_views p[id*=\\&#8221;-toc\\&#8221;] {<br \/>\n          display: none !important;<br \/>\n        }<br \/>\n        \/* \u76ee\u5f55\u53bb\u6389\u540e\uff0c\u7d27\u8ddf\u7684\u9996\u4e2a\u6807\u9898\u4e0d\u518d\u591a\u51fa\u4e00\u5757\u4e0a\u8fb9\u8ddd *\/<br \/>\n        #content_views.markdown_views &gt; .toc + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + h4,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h4 {<br \/>\n          margin-top: 0 !important;<br \/>\n        }<\/p>\n<p><font size=\"3\">\u6e29\u99a8\u63d0\u793a&#xff1a;\u672c\u4eba\u4e3b\u9875\u7f6e\u9876\u6587\u7ae0(\u70b9\u6211)\u5f00\u5934\u6709 CSDN \u5e73\u53f0\u5b98\u65b9\u63d0\u4f9b\u7684\u5b66\u957f\u8054\u7cfb\u65b9\u5f0f\u7684\u540d\u7247&#xff01;<\/font><\/p>\n<p>\u5b66\u751f\u6210\u7ee9\u7ba1\u7406\u7cfb\u7edf\u662f\u4e00\u5957\u9762\u5411\u5b9e\u9645\u4e1a\u52a1\u573a\u666f\u8bbe\u8ba1\u7684\u4fe1\u606f\u5316\u7ba1\u7406\u7cfb\u7edf&#xff0c;\u81f4\u529b\u4e8e \u89e3\u51b3\u4f20\u7edf\u7ba1\u7406\u6a21\u5f0f\u4e0b\u6548\u7387\u4f4e\u4e0b\u7684\u95ee\u9898\u3002 \u7cfb\u7edf\u9762\u5411\u5b66\u751f\u3001\u6559\u5e08\u4e0e\u7ba1\u7406\u5458\u4e09\u7c7b\u4e3b\u8981\u4f7f\u7528\u8005&#xff0c;\u63d0\u4f9b\u4e86\u7528\u6237\u4fe1\u606f\u7ba1\u7406\u3001\u8bfe\u7a0b\u8d44\u6e90\u53d1\u5e03\u3001\u5728\u7ebf\u9009\u8bfe\u62a5\u540d\u3001\u4f5c\u4e1a\u63d0\u4ea4\u4e0e\u6279\u6539\u7b49\u6838\u5fc3\u529f\u80fd\u3002\u5404\u6a21\u5757\u4e4b\u95f4\u804c\u8d23\u6e05\u6670\u3001\u534f\u540c\u5de5\u4f5c&#xff0c;\u80fd\u591f\u8986\u76d6\u4ece\u4fe1\u606f\u5f55\u5165\u3001\u6d41\u7a0b\u5904\u7406\u5230\u7ed3\u679c\u67e5\u8be2\u7684\u5b8c\u6574\u4e1a\u52a1\u94fe\u8def&#xff0c;\u6709\u6548\u6ee1\u8db3\u4e0d\u540c\u89d2\u8272\u7684\u65e5\u5e38\u64cd\u4f5c\u9700\u6c42\u3002<\/p>\n<p>\u7cfb\u7edf\u91c7\u7528Vue 3 &#043; Vite\u4f5c\u4e3a\u524d\u7aef\u6280\u672f\u65b9\u6848&#xff0c;\u540e\u7aef\u57fa\u4e8eJava &#043; Spring Boot\u6784\u5efa&#xff0c;\u6570\u636e\u5e93\u4f7f\u7528MySQL 8\u5b58\u50a8\u4e1a\u52a1\u6570\u636e\u3002\u8fd9\u5957\u6280\u672f\u7ec4\u5408\u517c\u987e\u4e86\u5f00\u53d1\u6548\u7387\u4e0e\u8fd0\u884c\u6027\u80fd&#xff0c;\u4e3a\u7cfb\u7edf\u7684\u7a33\u5b9a\u90e8\u7f72\u548c\u540e\u7eed\u6269\u5c55\u5960\u5b9a\u4e86\u575a\u5b9e\u57fa\u7840\u3002\u901a\u8fc7\u89c4\u8303\u5316\u7684\u63a5\u53e3\u8bbe\u8ba1\u4e0e\u5206\u5c42\u67b6\u6784&#xff0c;\u7cfb\u7edf\u5b9e\u73b0\u4e86\u754c\u9762\u5c55\u793a\u3001\u4e1a\u52a1\u903b\u8f91\u4e0e\u6570\u636e\u8bbf\u95ee\u7684\u5408\u7406\u5206\u79bb\u3002<\/p>\n<p>\u5728\u529f\u80fd\u8bbe\u8ba1\u4e0a&#xff0c;\u7cfb\u7edf\u6ce8\u91cd\u64cd\u4f5c\u6d41\u7a0b\u7684\u7b80\u6d01\u6027\u4e0e\u6570\u636e\u7ba1\u7406\u7684\u5b89\u5168\u6027&#xff0c;\u901a\u8fc7\u6743\u9650\u63a7\u5236\u3001\u72b6\u6001\u6d41\u8f6c\u4e0e\u6570\u636e\u7edf\u8ba1\u7b49\u673a\u5236&#xff0c;\u8ba9\u8bfe\u7a0b\u7b49\u6838\u5fc3\u4e1a\u52a1\u7684\u5904\u7406\u66f4\u52a0\u9ad8\u6548\u900f\u660e\u3002\u6574\u4f53\u65b9\u6848\u65e2\u89e3\u51b3\u4e86\u5f53\u4e0b\u7684\u73b0\u5b9e\u95ee\u9898&#xff0c;\u4e5f\u4e3a\u540e\u7eed\u7684\u8fed\u4ee3\u5347\u7ea7\u9884\u7559\u4e86\u5145\u8db3\u7a7a\u95f4\u3002<\/p>\n<h3>\u5173\u952e\u6280\u672f\u4ecb\u7ecd<\/h3>\n<p>\u524d\u7aef\u57fa\u4e8e Vue 3 \u6846\u67b6\u4e0e Vite \u6784\u5efa\u5de5\u5177\u5f00\u53d1&#xff0c;\u5229\u7528\u7ec4\u5408\u5f0f API \u8ba9\u7ec4\u4ef6\u903b\u8f91\u66f4\u52a0\u6e05\u6670&#xff0c;Vite \u63d0\u4f9b\u7684\u5feb\u901f\u70ed\u66f4\u65b0\u663e\u8457\u63d0\u5347\u4e86\u5f00\u53d1\u6548\u7387&#xff0c;\u54cd\u5e94\u5f0f\u754c\u9762\u80fd\u591f\u6d41\u7545\u9002\u914d\u5404\u7c7b\u64cd\u4f5c\u573a\u666f\u3002<\/p>\n<p>\u540e\u7aef\u91c7\u7528 Java \u8bed\u8a00\u4e0e Spring Boot \u6846\u67b6\u5f00\u53d1&#xff0c;\u5229\u7528\u5176\u81ea\u52a8\u914d\u7f6e\u4e0e\u4f9d\u8d56\u6ce8\u5165\u7279\u6027\u7b80\u5316\u9879\u76ee\u642d\u5efa&#xff0c;\u5206\u5c42\u67b6\u6784\u5c06\u63a7\u5236\u5668\u3001\u4e1a\u52a1\u670d\u52a1\u4e0e\u6570\u636e\u8bbf\u95ee\u6e05\u6670\u5206\u79bb&#xff0c;\u4fbf\u4e8e\u529f\u80fd\u6269\u5c55\u4e0e\u7ef4\u62a4\u3002<\/p>\n<p>\u6570\u636e\u5e93\u9009\u7528 MySQL 8&#xff0c;\u5176\u7a33\u5b9a\u7684\u4e8b\u52a1\u5904\u7406\u80fd\u529b\u4e0e\u9ad8\u5e76\u53d1\u652f\u6301\u80fd\u591f\u6ee1\u8db3\u7cfb\u7edf\u7684\u6570\u636e\u5b58\u50a8\u9700\u6c42&#xff0c;\u901a\u8fc7\u5408\u7406\u7684\u7d22\u5f15\u8bbe\u8ba1\u4e0e\u53c2\u6570\u5316\u67e5\u8be2\u4fdd\u969c\u6570\u636e\u4e00\u81f4\u6027\u4e0e\u8bbf\u95ee\u5b89\u5168\u3002<\/p>\n<p>\u7cfb\u7edf\u6574\u4f53\u91c7\u7528\u5206\u5c42\u67b6\u6784\u8bbe\u8ba1&#xff0c;\u5c06\u8868\u73b0\u5c42\u3001\u4e1a\u52a1\u903b\u8f91\u5c42\u4e0e\u6570\u636e\u8bbf\u95ee\u5c42\u6e05\u6670\u5212\u5206&#xff0c;\u5404\u5c42\u4e4b\u95f4\u901a\u8fc7\u7ea6\u5b9a\u597d\u7684\u63a5\u53e3\u8fdb\u884c\u901a\u4fe1\u3002\u8fd9\u79cd\u8bbe\u8ba1\u6709\u6548\u964d\u4f4e\u4e86\u6a21\u5757\u4e4b\u95f4\u7684\u8026\u5408\u5ea6&#xff0c;\u4f7f\u7cfb\u7edf\u5177\u5907\u826f\u597d\u7684\u53ef\u7ef4\u62a4\u6027\u4e0e\u53ef\u6269\u5c55\u6027&#xff0c;\u4e5f\u4fbf\u4e8e\u5f00\u53d1\u56e2\u961f\u5e76\u884c\u534f\u4f5c\u4e0e\u540e\u7eed\u529f\u80fd\u8fed\u4ee3\u3002<\/p>\n<h3>\u7cfb\u7edf\u5206\u6790<\/h3>\n<p>\u4ece\u4e1a\u52a1\u76ee\u6807\u6765\u770b&#xff0c;\u5b66\u751f\u6210\u7ee9\u7ba1\u7406\u7cfb\u7edf\u65e8\u5728\u89e3\u51b3\u6559\u5b66\u8d44\u6e90\u5206\u6563\u3001\u5e08\u751f\u6c9f\u901a\u4e0d\u4fbf\u3001\u6559\u52a1\u7ba1\u7406\u6548\u7387\u4f4e\u4e0b\u7b49\u73b0\u5b9e\u95ee\u9898\u3002\u901a\u8fc7\u5f15\u5165\u4fe1\u606f\u5316\u7684\u7ba1\u7406\u624b\u6bb5&#xff0c;\u7cfb\u7edf\u80fd\u591f\u628a\u5206\u6563\u7684\u4e1a\u52a1\u73af\u8282\u6574\u5408\u5230\u7edf\u4e00\u5e73\u53f0\u4e2d&#xff0c;\u5b9e\u73b0\u6570\u636e\u7684\u96c6\u4e2d\u7ba1\u7406\u4e0e\u6d41\u7a0b\u7684\u89c4\u8303\u5316\u8fd0\u8f6c&#xff0c;\u4ece\u800c\u63d0\u5347\u6574\u4f53\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n<p>\u5728\u7528\u6237\u89d2\u8272\u65b9\u9762&#xff0c;\u7cfb\u7edf\u4e3b\u8981\u9762\u5411\u5b66\u751f\u3001\u6559\u5e08\u4e0e\u7ba1\u7406\u5458\u3002\u4e0d\u540c\u89d2\u8272\u62e5\u6709\u5dee\u5f02\u5316\u7684\u529f\u80fd\u6743\u9650&#xff1a;\u666e\u901a\u7528\u6237\u4fa7\u91cd\u4e8e\u4fe1\u606f\u7684\u6d4f\u89c8\u4e0e\u4e1a\u52a1\u7684\u63d0\u4ea4&#xff0c;\u7ba1\u7406\u4eba\u5458\u5219\u8d1f\u8d23\u6570\u636e\u7ef4\u62a4\u3001\u6d41\u7a0b\u5ba1\u6838\u4e0e\u7edf\u8ba1\u5206\u6790\u3002\u57fa\u4e8e\u89d2\u8272\u7684\u6743\u9650\u63a7\u5236\u786e\u4fdd\u4e86\u5404\u53f8\u5176\u804c&#xff0c;\u65e2\u4fdd\u8bc1\u4e86\u64cd\u4f5c\u7684\u4fbf\u6377\u6027&#xff0c;\u4e5f\u7ef4\u62a4\u4e86\u6570\u636e\u7684\u5b89\u5168\u8fb9\u754c\u3002<\/p>\n<p>\u4e1a\u52a1\u6d41\u7a0b\u65b9\u9762&#xff0c;\u7cfb\u7edf\u5b9e\u73b0\u4e86\u4ece\u4fe1\u606f\u53d1\u5e03\u3001\u4e1a\u52a1\u7533\u8bf7\u3001\u5ba1\u6838\u5904\u7406\u5230\u7ed3\u679c\u53cd\u9988\u7684\u5b8c\u6574\u95ed\u73af\u3002\u4ee5\u8bfe\u7a0b\u4e3a\u4f8b&#xff0c;\u7528\u6237\u63d0\u4ea4\u7533\u8bf7\u540e&#xff0c;\u7ba1\u7406\u4eba\u5458\u5728\u540e\u53f0\u8fdb\u884c\u5ba1\u6838&#xff0c;\u5ba1\u6838\u7ed3\u679c\u5b9e\u65f6\u53cd\u9988\u7ed9\u7528\u6237&#xff0c;\u6574\u4e2a\u8fc7\u7a0b\u72b6\u6001\u6e05\u6670\u3001\u53ef\u8ffd\u6eaf&#xff0c;\u5f62\u6210\u4e86\u89c4\u8303\u9ad8\u6548\u7684\u4e1a\u52a1\u6d41\u8f6c\u673a\u5236\u3002<\/p>\n<p>\u5728\u6570\u636e\u6a21\u578b\u5c42\u9762&#xff0c;\u7cfb\u7edf\u56f4\u7ed5\u7528\u6237\u3001\u4e1a\u52a1\u4e3b\u4f53\u3001\u7533\u8bf7\u8bb0\u5f55\u4e0e\u5ba1\u6838\u4fe1\u606f\u7b49\u6838\u5fc3\u5b9e\u4f53\u5c55\u5f00\u8bbe\u8ba1&#xff0c;\u5404\u5b9e\u4f53\u4e4b\u95f4\u901a\u8fc7\u5173\u8054\u5173\u7cfb\u4fdd\u6301\u6570\u636e\u7684\u4e00\u81f4\u6027\u3002\u5408\u7406\u7684\u8868\u7ed3\u6784\u8bbe\u8ba1\u4e0d\u4ec5\u4fdd\u8bc1\u4e86\u67e5\u8be2\u6548\u7387&#xff0c;\u4e5f\u4e3a\u540e\u7eed\u7684\u6570\u636e\u7edf\u8ba1\u4e0e\u62a5\u8868\u751f\u6210\u63d0\u4f9b\u4e86\u4fbf\u5229\u3002<\/p>\n<p>\u975e\u529f\u80fd\u8bbe\u8ba1\u65b9\u9762&#xff0c;\u7cfb\u7edf\u91cd\u70b9\u5173\u6ce8\u54cd\u5e94\u901f\u5ea6\u3001\u6613\u7528\u6027\u4e0e\u5b89\u5168\u6027\u3002\u524d\u7aef\u901a\u8fc7\u5408\u7406\u7684\u8d44\u6e90\u52a0\u8f7d\u4e0e\u7ec4\u4ef6\u590d\u7528\u4f18\u5316\u9875\u9762\u6027\u80fd&#xff0c;\u540e\u7aef\u5bf9\u9ad8\u9891\u67e5\u8be2\u63a5\u53e3\u5efa\u7acb\u7d22\u5f15&#xff0c;\u767b\u5f55\u73af\u8282\u91c7\u7528\u5bc6\u7801\u52a0\u5bc6\u5b58\u50a8&#xff0c;\u5e76\u5bf9\u7528\u6237\u8f93\u5165\u8fdb\u884c\u7edf\u4e00\u6821\u9a8c&#xff0c;\u5168\u65b9\u4f4d\u4fdd\u969c\u7cfb\u7edf\u7684\u7a33\u5b9a\u8fd0\u884c\u4e0e\u6570\u636e\u5b89\u5168\u3002<\/p>\n<h3>\u7cfb\u7edf\u622a\u56fe<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118072506-6afd52d227c32.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118072507-6afd52d343dd1.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118072508-6afd52d44d544.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118072509-6afd52d54e0f0.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118072510-6afd52d64d6f8.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118072511-6afd52d75003d.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118072512-6afd52d854538.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118072513-6afd52d9979a3.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u6838\u5fc3\u4ee3\u7801<\/h3>\n<p>\u7cfb\u7edf\u7684\u767b\u5f55\u9274\u6743\u4e0e\u5bc6\u7801\u5b89\u5168\u662f\u4fdd\u969c\u6574\u4f53\u5b89\u5168\u7684\u57fa\u7840\u73af\u8282\u3002\u4ee5\u4e0b\u4ee3\u7801\u5c55\u793a\u4e86\u57fa\u4e8e Java &#043; Spring Boot \u7684\u767b\u5f55\u6821\u9a8c\u4e0e\u5bc6\u7801\u52a0\u5bc6\u5b9e\u73b0&#xff1a;<\/p>\n<p><span class=\"token annotation punctuation\">&#064;Service<\/span><br \/>\n<span class=\"token keyword\">public<\/span> <span class=\"token keyword\">class<\/span> <span class=\"token class-name\">AuthService<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token annotation punctuation\">&#064;Autowired<\/span><br \/>\n    <span class=\"token keyword\">private<\/span> <span class=\"token class-name\">UserMapper<\/span> userMapper<span class=\"token punctuation\">;<\/span><\/p>\n<p>    <span class=\"token keyword\">public<\/span> <span class=\"token class-name\">User<\/span> <span class=\"token function\">login<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">String<\/span> username<span class=\"token punctuation\">,<\/span> <span class=\"token class-name\">String<\/span> password<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token class-name\">User<\/span> user <span class=\"token operator\">&#061;<\/span> userMapper<span class=\"token punctuation\">.<\/span><span class=\"token function\">selectByUsername<\/span><span class=\"token punctuation\">(<\/span>username<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span>user <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token keyword\">null<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n            <span class=\"token keyword\">throw<\/span> <span class=\"token keyword\">new<\/span> <span class=\"token class-name\">BusinessException<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u8d26\u53f7\u4e0d\u5b58\u5728&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token punctuation\">}<\/span><br \/>\n        <span class=\"token comment\">\/\/ \u4f7f\u7528 BCrypt \u6821\u9a8c\u5bc6\u7801&#xff0c;\u907f\u514d\u660e\u6587\u6bd4\u5bf9<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token operator\">!<\/span><span class=\"token class-name\">BCrypt<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">checkpw<\/span><span class=\"token punctuation\">(<\/span>password<span class=\"token punctuation\">,<\/span> user<span class=\"token punctuation\">.<\/span><span class=\"token function\">getPassword<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n            <span class=\"token keyword\">throw<\/span> <span class=\"token keyword\">new<\/span> <span class=\"token class-name\">BusinessException<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u5bc6\u7801\u9519\u8bef&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token punctuation\">}<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> user<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><\/p>\n<p>    <span class=\"token keyword\">public<\/span> <span class=\"token keyword\">void<\/span> <span class=\"token function\">register<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">User<\/span> user<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token class-name\">String<\/span> hash <span class=\"token operator\">&#061;<\/span> <span class=\"token class-name\">BCrypt<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">hashpw<\/span><span class=\"token punctuation\">(<\/span>user<span class=\"token punctuation\">.<\/span><span class=\"token function\">getPassword<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token class-name\">BCrypt<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">gensalt<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        user<span class=\"token punctuation\">.<\/span><span class=\"token function\">setPassword<\/span><span class=\"token punctuation\">(<\/span>hash<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        userMapper<span class=\"token punctuation\">.<\/span><span class=\"token function\">insert<\/span><span class=\"token punctuation\">(<\/span>user<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u4ee3\u7801\u4e2d\u5bf9\u5bc6\u7801\u91c7\u7528\u52a0\u5bc6\u5b58\u50a8\u4e0e\u6821\u9a8c\u7684\u65b9\u5f0f&#xff0c;\u907f\u514d\u4e86\u660e\u6587\u5bc6\u7801\u76f4\u63a5\u53c2\u4e0e\u6bd4\u5bf9&#xff0c;\u5373\u4fbf\u6570\u636e\u610f\u5916\u6cc4\u9732\u4e5f\u80fd\u6709\u6548\u4fdd\u62a4\u7528\u6237\u8d26\u6237\u5b89\u5168\u3002\u6ce8\u518c\u73af\u8282\u901a\u8fc7\u52a0\u76d0\u54c8\u5e0c\u751f\u6210\u5bc6\u7801\u6458\u8981&#xff0c;\u767b\u5f55\u73af\u8282\u5219\u4f7f\u7528\u4e00\u81f4\u7684\u6821\u9a8c\u7b97\u6cd5\u5b8c\u6210\u8eab\u4efd\u9a8c\u8bc1&#xff0c;\u517c\u987e\u4e86\u5b89\u5168\u6027\u4e0e\u5b9e\u73b0\u7b80\u6d01\u6027\u3002<\/p>\n<p>\u5728\u6b64\u57fa\u7840\u4e0a&#xff0c;\u7cfb\u7edf\u8fd8\u5728\u63a5\u53e3\u5c42\u5bf9\u7528\u6237\u8f93\u5165\u8fdb\u884c\u7edf\u4e00\u6821\u9a8c&#xff0c;\u5e76\u5bf9\u654f\u611f\u64cd\u4f5c\u589e\u52a0\u6743\u9650\u5224\u65ad&#xff0c;\u9632\u6b62\u8d8a\u6743\u8bbf\u95ee\u3002\u5206\u5c42\u67b6\u6784\u8ba9\u5b89\u5168\u903b\u8f91\u96c6\u4e2d\u4e8e\u72ec\u7acb\u7684\u670d\u52a1\u7ec4\u4ef6\u4e2d&#xff0c;\u65e2\u4fbf\u4e8e\u7edf\u4e00\u7ef4\u62a4&#xff0c;\u4e5f\u65b9\u4fbf\u540e\u7eed\u5f15\u5165\u4ee4\u724c\u8ba4\u8bc1\u3001\u9a8c\u8bc1\u7801\u7b49\u66f4\u4e30\u5bcc\u7684\u5b89\u5168\u673a\u5236\u3002<\/p>\n<h3>\u7cfb\u7edf\u6d4b\u8bd5<\/h3>\n<p>\u4e3a\u786e\u4fdd\u7cfb\u7edf\u8d28\u91cf&#xff0c;\u9879\u76ee\u91c7\u7528\u4e86\u591a\u5c42\u6b21\u7684\u6d4b\u8bd5\u7b56\u7565\u3002\u529f\u80fd\u6d4b\u8bd5\u8986\u76d6\u4e86\u5b66\u751f\u3001\u6559\u5e08\u4e0e\u7ba1\u7406\u5458\u7b49\u89d2\u8272\u7684\u6838\u5fc3\u4e1a\u52a1\u6d41\u7a0b&#xff0c;\u9010\u4e00\u9a8c\u8bc1\u4fe1\u606f\u6d4f\u89c8\u3001\u4e1a\u52a1\u63d0\u4ea4\u3001\u5ba1\u6838\u5904\u7406\u4e0e\u7ed3\u679c\u67e5\u8be2\u7b49\u529f\u80fd\u662f\u5426\u6309\u9884\u671f\u5de5\u4f5c&#xff0c;\u786e\u4fdd\u5404\u89d2\u8272\u6743\u9650\u8fb9\u754c\u6e05\u6670\u3001\u64cd\u4f5c\u6d41\u7a0b\u6b63\u786e\u3002<\/p>\n<p>\u9488\u5bf9\u8bfe\u7a0b\u7b49\u5173\u952e\u4e1a\u52a1&#xff0c;\u6d4b\u8bd5\u4eba\u5458\u8bbe\u8ba1\u4e86\u5305\u62ec\u6b63\u5e38\u6d41\u7a0b\u4e0e\u5f02\u5e38\u8fb9\u754c\u5728\u5185\u7684\u591a\u7ec4\u7528\u4f8b&#xff0c;\u4f8b\u5982\u91cd\u590d\u63d0\u4ea4\u3001\u72b6\u6001\u56de\u9000\u3001\u53c2\u6570\u7f3a\u5931\u7b49\u573a\u666f&#xff0c;\u9a8c\u8bc1\u7cfb\u7edf\u80fd\u5426\u7ed9\u51fa\u51c6\u786e\u63d0\u793a\u5e76\u4fdd\u6301\u6570\u636e\u4e00\u81f4\u6027\u3002\u6d4b\u8bd5\u7ed3\u679c\u8868\u660e&#xff0c;\u7cfb\u7edf\u80fd\u591f\u6b63\u786e\u5904\u7406\u5404\u7c7b\u8fb9\u754c\u60c5\u51b5&#xff0c;\u672a\u51fa\u73b0\u6570\u636e\u9519\u4e71\u95ee\u9898\u3002<\/p>\n<p>\u6027\u80fd\u6d4b\u8bd5\u901a\u8fc7\u6a21\u62df\u591a\u7528\u6237\u5e76\u53d1\u8bbf\u95ee&#xff0c;\u89c2\u5bdf\u6838\u5fc3\u63a5\u53e3\u7684\u54cd\u5e94\u65f6\u95f4\u4e0e\u9519\u8bef\u7387&#xff1b;\u517c\u5bb9\u6027\u6d4b\u8bd5\u9a8c\u8bc1\u7cfb\u7edf\u5728\u4e3b\u6d41\u6d4f\u89c8\u5668\u4e0e\u4e0d\u540c\u7ec8\u7aef\u4e0a\u7684\u5c55\u793a\u6548\u679c&#xff1b;\u5b89\u5168\u6d4b\u8bd5\u5219\u9488\u5bf9\u767b\u5f55\u7206\u7834\u3001\u8d8a\u6743\u8bbf\u95ee\u4e0e\u6ce8\u5165\u653b\u51fb\u7b49\u5e38\u89c1\u98ce\u9669\u8fdb\u884c\u4e86\u4e13\u9879\u6392\u67e5\u3002\u7efc\u5408\u591a\u8f6e\u6d4b\u8bd5&#xff0c;\u7cfb\u7edf\u529f\u80fd\u5b8c\u6574\u3001\u8fd0\u884c\u7a33\u5b9a&#xff0c;\u8fbe\u5230\u4e86\u4ea4\u4ed8\u6807\u51c6\u3002<\/p>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u5b66\u751f\u6210\u7ee9\u7ba1\u7406\u7cfb\u7edf\u7acb\u8db3\u6559\u5b66\u8d44\u6e90\u5206\u6563\u3001\u5e08\u751f\u6c9f\u901a\u4e0d\u4fbf\u3001\u6559\u52a1\u7ba1\u7406\u6548\u7387\u4f4e\u4e0b\u7b49\u5b9e\u9645\u9700\u6c42&#xff0c;\u6784\u5efa\u4e86\u4e00\u5957\u8986\u76d6\u4fe1\u606f\u53d1\u5e03\u3001\u4e1a\u52a1\u529e\u7406\u3001\u5ba1\u6838\u7ba1\u7406\u4e0e\u6570\u636e\u67e5\u8be2\u7684\u4fe1\u606f\u5316\u5e73\u53f0\u3002\u7cfb\u7edf\u901a\u8fc7Vue 3 &#043; Vite\u3001Java &#043; Spring Boot\u4e0eMySQL 8\u7684\u534f\u540c\u914d\u5408&#xff0c;\u5b9e\u73b0\u4e86\u4e1a\u52a1\u6d41\u7a0b\u7684\u6570\u5b57\u5316\u518d\u9020&#xff0c;\u6709\u6548\u63d0\u5347\u4e86\u7ba1\u7406\u6548\u7387\u4e0e\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n<p>\u7cfb\u7edf\u91c7\u7528\u5206\u5c42\u67b6\u6784\u4e0e\u6a21\u5757\u5316\u8bbe\u8ba1&#xff0c;\u5404\u529f\u80fd\u6a21\u5757\u804c\u8d23\u660e\u786e\u3001\u63a5\u53e3\u89c4\u8303&#xff0c;\u65e2\u4fdd\u8bc1\u4e86\u5f53\u524d\u4e1a\u52a1\u7684\u7a33\u5b9a\u8fd0\u884c&#xff0c;\u4e5f\u4e3a\u540e\u7eed\u7684\u529f\u80fd\u62d3\u5c55\u63d0\u4f9b\u4e86\u826f\u597d\u57fa\u7840\u3002\u6743\u9650\u63a7\u5236\u3001\u6570\u636e\u6821\u9a8c\u4e0e\u5b89\u5168\u673a\u5236\u7684\u843d\u5730&#xff0c;\u8fdb\u4e00\u6b65\u4fdd\u969c\u4e86\u7cfb\u7edf\u4e0e\u6570\u636e\u7684\u5b89\u5168\u53ef\u9760\u3002<\/p>\n<p>\u603b\u4f53\u800c\u8a00&#xff0c;\u8be5\u7cfb\u7edf\u4e0d\u4ec5\u662f\u4e00\u5957\u529f\u80fd\u5b8c\u5907\u7684\u8f6f\u4ef6\u4ea7\u54c1&#xff0c;\u66f4\u662f\u4fe1\u606f\u6280\u672f\u4e0e\u5b9e\u9645\u4e1a\u52a1\u6df1\u5ea6\u878d\u5408\u7684\u5b9e\u8df5\u3002\u672a\u6765\u53ef\u7ed3\u5408\u667a\u80fd\u5206\u6790\u3001\u79fb\u52a8\u7aef\u9002\u914d\u7b49\u65b9\u5411\u6301\u7eed\u6f14\u8fdb&#xff0c;\u8ba9\u5e73\u53f0\u5728\u63d0\u5347\u7ba1\u7406\u6548\u80fd\u3001\u4f18\u5316\u670d\u52a1\u4f53\u9a8c\u65b9\u9762\u53d1\u6325\u66f4\u5927\u7684\u4ef7\u503c\u3002<\/p>\n<p>      <span id=\"quality-guide-article-end\" aria-hidden=\"true\" style=\"display:block;height:1px;margin-bottom:-1px\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content<\/p>\n","protected":false},"author":2,"featured_media":124120,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[99,98,292],"topic":[],"class_list":["post-124128","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-java","tag-spring-boot","tag-292"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u57fa\u4e8eSpringBoot\u5b66\u751f\u6210\u7ee9\u7ba1\u7406\u7cfb\u7edf-\u9644\u6e90\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/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.wsisp.com\/helps\/124128.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u57fa\u4e8eSpringBoot\u5b66\u751f\u6210\u7ee9\u7ba1\u7406\u7cfb\u7edf-\u9644\u6e90\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/124128.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-18T07:25:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118072506-6afd52d227c32.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\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.wsisp.com\/helps\/124128.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/124128.html\",\"name\":\"\u57fa\u4e8eSpringBoot\u5b66\u751f\u6210\u7ee9\u7ba1\u7406\u7cfb\u7edf-\u9644\u6e90\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-11-18T07:25:15+00:00\",\"dateModified\":\"2026-11-18T07:25:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/124128.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/124128.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/124128.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u57fa\u4e8eSpringBoot\u5b66\u751f\u6210\u7ee9\u7ba1\u7406\u7cfb\u7edf-\u9644\u6e90\u7801\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u57fa\u4e8eSpringBoot\u5b66\u751f\u6210\u7ee9\u7ba1\u7406\u7cfb\u7edf-\u9644\u6e90\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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.wsisp.com\/helps\/124128.html","og_locale":"zh_CN","og_type":"article","og_title":"\u57fa\u4e8eSpringBoot\u5b66\u751f\u6210\u7ee9\u7ba1\u7406\u7cfb\u7edf-\u9644\u6e90\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content","og_url":"https:\/\/www.wsisp.com\/helps\/124128.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-11-18T07:25:15+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118072506-6afd52d227c32.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/124128.html","url":"https:\/\/www.wsisp.com\/helps\/124128.html","name":"\u57fa\u4e8eSpringBoot\u5b66\u751f\u6210\u7ee9\u7ba1\u7406\u7cfb\u7edf-\u9644\u6e90\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-11-18T07:25:15+00:00","dateModified":"2026-11-18T07:25:15+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/124128.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/124128.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/124128.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u57fa\u4e8eSpringBoot\u5b66\u751f\u6210\u7ee9\u7ba1\u7406\u7cfb\u7edf-\u9644\u6e90\u7801"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/124128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=124128"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/124128\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/124120"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=124128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=124128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=124128"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=124128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}