{"id":93534,"date":"2026-08-12T19:17:18","date_gmt":"2026-08-12T11:17:18","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/93534.html"},"modified":"2026-08-12T19:17:18","modified_gmt":"2026-08-12T11:17:18","slug":"%e5%9f%ba%e4%ba%8espringboot%e7%9a%84%e5%85%ac%e5%8a%a1%e7%94%a8%e8%bd%a6%e8%b0%83%e5%ba%a6%e7%ae%a1%e7%90%86%e5%b9%b3%e5%8f%b0%e7%b3%bb%e7%bb%9f%e6%af%95%e8%ae%be%e6%ba%90%e7%a0%81%e6%96%87%e6%a1%a3","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/93534.html","title":{"rendered":"\u57fa\u4e8eSpringBoot\u7684\u516c\u52a1\u7528\u8f66\u8c03\u5ea6\u7ba1\u7406\u5e73\u53f0\u7cfb\u7edf\u6bd5\u8bbe\u6e90\u7801+\u6587\u6863+\u8bb2\u89e3\u89c6\u9891"},"content":{"rendered":"<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; \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; \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<h3>\u524d\u8a00<\/h3>\n<p>\u672c\u8bfe\u9898\u9488\u5bf9\u515a\u653f\u673a\u5173\u53ca\u4f01\u4e8b\u4e1a\u5355\u4f4d\u4f20\u7edf\u516c\u52a1\u7528\u8f66\u7ba1\u7406\u5b58\u5728\u7684\u7528\u8f66\u7533\u8bf7\u6d41\u7a0b\u7e41\u7410\u3001\u4eba\u5de5\u8c03\u5ea6\u6548\u7387\u4f4e\u3001\u8f66\u8f86\u8d44\u6e90\u5206\u914d\u4e0d\u5408\u7406\u3001\u7528\u8f66\u5ba1\u6279\u4e0d\u89c4\u8303\u3001\u8f66\u8f86\u884c\u9a76\u8f68\u8ff9\u65e0\u6cd5\u8ffd\u6eaf\u3001\u7ef4\u4fdd\u52a0\u6cb9\u7ba1\u7406\u6df7\u4e71\u3001\u516c\u8f66\u79c1\u7528\u96be\u4ee5\u76d1\u7ba1\u3001\u7edf\u8ba1\u62a5\u8868\u7e41\u7410\u6613\u9519\u7b49\u7ba1\u7406\u75db\u70b9&#xff0c;\u8bbe\u8ba1\u5e76\u5b9e\u73b0\u57fa\u4e8eSpringBoot\u7684\u516c\u52a1\u7528\u8f66\u8c03\u5ea6\u7ba1\u7406\u5e73\u53f0\u7cfb\u7edf\u3002\u7cfb\u7edf\u540e\u7aef\u91c7\u7528SpringBoot\u4e3b\u6d41\u5f00\u53d1\u6846\u67b6&#xff0c;\u7ed3\u5408Spring MVC\u3001MyBatis\u6301\u4e45\u5c42\u6280\u672f\u642d\u5efa\u8f7b\u91cf\u5316\u3001\u9ad8\u7a33\u5b9a\u3001\u9ad8\u5e76\u53d1\u7684\u670d\u52a1\u67b6\u6784&#xff0c;\u80fd\u591f\u9ad8\u6548\u5904\u7406\u7528\u8f66\u7533\u8bf7\u3001\u591a\u7ea7\u5ba1\u6279\u3001\u667a\u80fd\u8c03\u5ea6\u3001\u8f66\u8f86\u6863\u6848\u7ba1\u7406\u7b49\u6838\u5fc3\u4e1a\u52a1&#xff0c;\u91c7\u7528MySQL\u6570\u636e\u5e93\u7edf\u4e00\u5b58\u50a8\u5355\u4f4d\u7ec4\u7ec7\u4fe1\u606f\u3001\u516c\u52a1\u8f66\u8f86\u6863\u6848\u3001\u9a7e\u9a76\u5458\u4fe1\u606f\u3001\u7528\u8f66\u7533\u8bf7\u8bb0\u5f55\u3001\u5ba1\u6279\u6d41\u7a0b\u6570\u636e\u3001\u884c\u9a76\u8bb0\u5f55\u3001\u7ef4\u4fdd\u52a0\u6cb9\u53f0\u8d26\u3001\u8fdd\u7ae0\u5e74\u68c0\u4fe1\u606f\u3001\u8c03\u5ea6\u65e5\u5fd7\u53ca\u6708\u5ea6\u5e74\u5ea6\u7edf\u8ba1\u6570\u636e\u3002\u7cfb\u7edf\u5f15\u5165\u89d2\u8272\u6743\u9650\u5206\u7ea7\u7ba1\u7406\u3001\u6d41\u7a0b\u5ba1\u6838\u673a\u5236\u3001\u64cd\u4f5c\u65e5\u5fd7\u5168\u7a0b\u6eaf\u6e90\u3001\u6570\u636e\u52a0\u5bc6\u4e0e\u5b9a\u65f6\u5907\u4efd\u7b49\u5b89\u5168\u7ba1\u63a7\u673a\u5236&#xff0c;\u4e25\u683c\u89c4\u8303\u516c\u52a1\u7528\u8f66\u5168\u6d41\u7a0b\u4e1a\u52a1&#xff0c;\u675c\u7edd\u8fdd\u89c4\u7528\u8f66\u3001\u8c03\u5ea6\u6df7\u4e71\u3001\u6570\u636e\u7f3a\u5931\u7b49\u95ee\u9898&#xff0c;\u4fdd\u969c\u516c\u8f66\u7ba1\u7406\u516c\u5f00\u3001\u516c\u6b63\u3001\u5408\u89c4\u3001\u53ef\u8ffd\u6eaf\u3002\u524d\u7aef\u91c7\u7528Vue\u54cd\u5e94\u5f0f\u6280\u672f\u5f00\u53d1\u7b80\u6d01\u89c4\u8303\u3001\u9002\u914d\u529e\u516c\u573a\u666f\u7684\u4ea4\u4e92\u754c\u9762&#xff0c;\u9002\u914d\u666e\u901a\u5458\u5de5\u3001\u8c03\u5ea6\u4eba\u5458\u3001\u5ba1\u6279\u9886\u5bfc\u3001\u7cfb\u7edf\u7ba1\u7406\u5458\u56db\u7c7b\u6838\u5fc3\u89d2\u8272&#xff0c;\u4e3b\u8981\u5b9e\u73b0\u5728\u7ebf\u7528\u8f66\u7533\u8bf7\u3001\u591a\u7ea7\u6d41\u7a0b\u5ba1\u6279\u3001\u667a\u80fd\u8f66\u8f86\u8c03\u5ea6\u3001\u8f66\u8f86\u72b6\u6001\u5b9e\u65f6\u67e5\u8be2\u3001\u9a7e\u9a76\u5458\u6392\u73ed\u7ba1\u7406\u3001\u884c\u9a76\u8f68\u8ff9\u767b\u8bb0\u3001\u7ef4\u4fdd\u52a0\u6cb9\u767b\u8bb0\u3001\u8fdd\u7ae0\u5e74\u68c0\u63d0\u9192\u3001\u7528\u8f66\u8bb0\u5f55\u67e5\u8be2\u3001\u6570\u636e\u53ef\u89c6\u5316\u7edf\u8ba1\u5206\u6790\u3001\u7cfb\u7edf\u6743\u9650\u7ba1\u7406\u7b49\u6838\u5fc3\u529f\u80fd\u3002\u672c\u7cfb\u7edf\u4e25\u683c\u6309\u7167\u8f6f\u4ef6\u5de5\u7a0b\u5f00\u53d1\u89c4\u8303\u5b8c\u6210\u9700\u6c42\u8c03\u7814\u3001\u53ef\u884c\u6027\u5206\u6790\u3001\u7cfb\u7edf\u67b6\u6784\u8bbe\u8ba1\u3001\u529f\u80fd\u5f00\u53d1\u8fed\u4ee3\u4e0e\u5168\u9762\u6d4b\u8bd5&#xff0c;\u5b9e\u73b0\u516c\u52a1\u7528\u8f66\u7533\u8bf7\u3001\u5ba1\u6279\u3001\u8c03\u5ea6\u3001\u8fd0\u7ef4\u3001\u7edf\u8ba1\u7684\u5168\u6d41\u7a0b\u6570\u5b57\u5316\u3001\u6807\u51c6\u5316\u3001\u667a\u80fd\u5316\u7ba1\u7406&#xff0c;\u6709\u6548\u964d\u4f4e\u5355\u4f4d\u516c\u52a1\u7528\u8f66\u7ba1\u7406\u6210\u672c&#xff0c;\u63d0\u5347\u8f66\u8f86\u8d44\u6e90\u5229\u7528\u7387\u4e0e\u529e\u516c\u6548\u7387&#xff0c;\u5f3a\u5316\u516c\u8f66\u76d1\u7ba1\u529b\u5ea6&#xff0c;\u52a9\u529b\u673a\u5173\u5355\u4f4d\u5b9e\u73b0\u7cbe\u7ec6\u5316\u3001\u89c4\u8303\u5316\u516c\u8f66\u6cbb\u7406&#xff0c;\u540c\u65f6\u4e3a\u540c\u7c7b\u653f\u52a1\u540e\u52e4\u7ba1\u7406\u7cfb\u7edf\u7684\u5f00\u53d1\u5e94\u7528\u63d0\u4f9b\u53ef\u9760\u7684\u6280\u672f\u53c2\u8003\u4e0e\u5b9e\u8df5\u8303\u4f8b\u3002<\/p>\n<p>&#x1f497;\u535a\u4e3b\u4ecb\u7ecd&#xff1a;\u270c\u5168\u7f51\u7c89\u4e1d10W&#043;,CSDN\u7279\u9080\u4f5c\u8005\u3001\u535a\u5ba2\u4e13\u5bb6\u3001CSDN\u65b0\u661f\u8ba1\u5212\u5bfc\u5e08\u3001\u5168\u6808\u9886\u57df\u4f18\u8d28\u521b\u4f5c\u8005&#xff0c;\u535a\u5ba2\u4e4b\u661f\u3001\u6398\u91d1\/\u534e\u4e3a\u4e91\/\u963f\u91cc\u4e91\/InfoQ\u7b49\u5e73\u53f0\u4f18\u8d28\u4f5c\u8005\u3001\u4e13\u6ce8\u4e8eJava\u3001\u5c0f\u7a0b\u5e8f\u6280\u672f\u9886\u57df\u548c\u6bd5\u4e1a\u9879\u76ee\u5b9e\u6218\u270c&#x1f497; &#x1f497;\u4e3b\u8981\u5185\u5bb9&#xff1a;SpringBoot\u3001Vue\u3001SSM\u3001HLMT\u3001Jsp\u3001PHP\u3001Nodejs\u3001Python\u3001\u722c\u866b\u3001\u6570\u636e\u53ef\u89c6\u5316\u3001\u5c0f\u7a0b\u5e8f\u3001\u5b89\u5353app\u3001\u5927\u6570\u636e\u3001\u7269\u8054\u7f51\u3001\u673a\u5668\u5b66\u4e60\u7b49\u8bbe\u8ba1\u4e0e\u5f00\u53d1\u3002 &#x1f447;&#x1f3fb; <font color=\"#a3151\">\u7cbe\u5f69\u4e13\u680f \u63a8\u8350\u8ba2\u9605&#x1f447;&#x1f3fb; 2027-2029\u5e74\u6700\u65b0Java\/Python\u6bd5\u4e1a\u8bbe\u8ba1\u9009\u9898\u63a8\u8350\u2705<\/font><\/p>\n<p>&#x1f31f;\u6587\u672b\u83b7\u53d6\u6e90\u7801&#043;\u6570\u636e\u5e93&#x1f31f; <font color=\"#a3151\">\u611f\u5174\u8da3\u7684\u53ef\u4ee5\u5148\u6536\u85cf\u8d77\u6765&#xff0c;\u8fd8\u6709\u5927\u5bb6\u5728\u6bd5\u8bbe\u9009\u9898&#xff0c;\u9879\u76ee\u4ee5\u53ca\u8bba\u6587\u7f16\u5199\u7b49\u76f8\u5173\u95ee\u9898\u90fd\u53ef\u4ee5\u7ed9\u6211\u7559\u8a00\u54a8\u8be2&#xff0c;\u5e0c\u671b\u5e2e\u52a9\u66f4\u591a\u7684\u4eba<\/font><\/p>\n<h3>\u8be6\u7ec6\u89c6\u9891\u6f14\u793a<\/h3>\n<p>\u8bf7\u8054\u7cfb\u6211\u83b7\u53d6\u66f4\u8be6\u7ec6\u7684\u6f14\u793a\u89c6\u9891<\/p>\n<h3>\u5177\u4f53\u5b9e\u73b0\u622a\u56fe<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260812111708-6a7c563499728.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260812111709-6a7c56355f631.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260812111710-6a7c563659671.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260812111711-6a7c563706560.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260812111711-6a7c5637a2e4d.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260812111712-6a7c56383060c.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260812111712-6a7c5638b5146.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260812111713-6a7c563949ed4.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260812111713-6a7c5639df1e4.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260812111714-6a7c563a8b79a.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260812111716-6a7c563c1d4d0.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260812111716-6a7c563cb2077.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u6280\u672f\u6808<\/h3>\n<h4>\u540e\u7aef\u6846\u67b6SpringBoot<\/h4>\n<p>\u914d\u7f6e\u548c\u7ea6\u5b9a\u5927\u4e8e\u914d\u7f6e\u7684\u65b9\u5f0f&#xff0c;\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u6784\u5efa\u57fa\u4e8e Spring \u7684\u5e94\u7528\u7a0b\u5e8f\u3002Spring Boot \u4f7f\u5f97\u5f00\u53d1\u8005\u53ef\u4ee5\u66f4\u52a0\u4e13\u6ce8\u4e8e\u4e1a\u52a1\u903b\u8f91\u7684\u5b9e\u73b0&#xff0c;\u800c\u65e0\u9700\u5173\u6ce8\u7e41\u7410\u7684\u914d\u7f6e\u548c\u4f9d\u8d56\u7ba1\u7406\u3002\u4ee5\u4e0b\u662f Spring Boot \u7684\u4e00\u4e9b\u4e3b\u8981\u7279\u70b9&#xff1a; \u7b80\u5316\u914d\u7f6e&#xff1a; Spring Boot \u63d0\u4f9b\u4e86\u5927\u91cf\u7684\u9ed8\u8ba4\u914d\u7f6e&#xff0c;\u5f00\u53d1\u8005\u65e0\u9700\u624b\u52a8\u914d\u7f6e&#xff0c;\u53ea\u9700\u6309\u7167\u7ea6\u5b9a\u7684\u65b9\u5f0f\u547d\u540d\u7ec4\u4ef6\u548c\u7c7b&#xff0c;\u5373\u53ef\u81ea\u52a8\u88c5\u914d\u5404\u79cd\u529f\u80fd\u3002 \u5185\u5d4c\u5bb9\u5668&#xff1a; Spring Boot \u5185\u7f6e\u4e86\u5e38\u7528\u7684 Servlet \u5bb9\u5668&#xff08;\u5982 Tomcat\u3001Jetty&#xff09;&#xff0c;\u5f00\u53d1\u8005\u65e0\u9700\u624b\u52a8\u90e8\u7f72\u5e94\u7528\u5230\u5916\u90e8\u670d\u52a1\u5668&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684\u547d\u4ee4\u542f\u52a8\u5e94\u7528\u3002 \u81ea\u52a8\u914d\u7f6e&#xff1a; Spring Boot \u6839\u636e\u9879\u76ee\u4e2d\u7684\u4f9d\u8d56\u81ea\u52a8\u914d\u7f6e\u5e94\u7528\u7a0b\u5e8f&#xff0c;\u5305\u62ec\u6570\u636e\u6e90\u3001\u7f13\u5b58\u3001\u6d88\u606f\u961f\u5217\u7b49\u3002\u540c\u65f6&#xff0c;\u5f00\u53d1\u8005\u4e5f\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u8fdb\u884c\u81ea\u5b9a\u4e49\u914d\u7f6e\u3002 \u7ea6\u5b9a\u5927\u4e8e\u914d\u7f6e&#xff1a; Spring Boot \u9075\u5faa\u7ea6\u5b9a\u5927\u4e8e\u914d\u7f6e\u7684\u539f\u5219&#xff0c;\u63d0\u4f9b\u4e86\u4e00\u5957\u9ed8\u8ba4\u7684\u89c4\u8303\u548c\u6700\u4f73\u5b9e\u8df5&#xff0c;\u7b80\u5316\u4e86\u5f00\u53d1\u8fc7\u7a0b&#xff0c;\u5e76\u63d0\u9ad8\u4e86\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002 \u5fae\u670d\u52a1\u652f\u6301&#xff1a; Spring Boot \u5bf9\u5fae\u670d\u52a1\u67b6\u6784\u63d0\u4f9b\u4e86\u826f\u597d\u7684\u652f\u6301&#xff0c;\u901a\u8fc7 Spring Cloud \u7b49\u76f8\u5173\u7ec4\u4ef6&#xff0c;\u53ef\u4ee5\u5feb\u901f\u6784\u5efa\u548c\u90e8\u7f72\u5206\u5e03\u5f0f\u7cfb\u7edf\u3002 \u76d1\u63a7\u548c\u7ba1\u7406&#xff1a; Spring Boot \u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u76d1\u63a7\u548c\u7ba1\u7406\u529f\u80fd&#xff0c;\u5305\u62ec\u7aef\u70b9\u76d1\u63a7\u3001\u5065\u5eb7\u68c0\u67e5\u3001\u6027\u80fd\u6307\u6807\u3001\u65e5\u5fd7\u7ba1\u7406\u7b49&#xff0c;\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u597d\u5730\u76d1\u63a7\u548c\u7ba1\u7406\u5e94\u7528\u7a0b\u5e8f\u3002 Spring Boot \u7684\u4f18\u70b9\u5728\u4e8e\u7b80\u5316\u4e86\u5f00\u53d1\u8fc7\u7a0b&#xff0c;\u63d0\u9ad8\u4e86\u5f00\u53d1\u6548\u7387&#xff0c;\u540c\u65f6\u4e5f\u964d\u4f4e\u4e86\u9879\u76ee\u7684\u7ef4\u62a4\u6210\u672c\u3002\u5b83\u7684\u5f3a\u5927\u751f\u6001\u7cfb\u7edf\u548c\u4e30\u5bcc\u7684\u6587\u6863\u8d44\u6e90&#xff0c;\u4f7f\u5f97\u5f00\u53d1\u8005\u53ef\u4ee5\u5feb\u901f\u4e0a\u624b\u5e76\u6784\u5efa\u9ad8\u8d28\u91cf\u7684 Java \u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<h3>\u524d\u7aef\u6846\u67b6Vue<\/h3>\n<p>Vue\u6846\u67b6\u662f\u4e00\u79cd\u6d41\u884c\u7684\u524d\u7aefJavaScript\u6846\u67b6&#xff0c;\u7528\u4e8e\u521b\u5efa\u4ea4\u4e92\u5f0f\u7684Web\u7528\u6237\u754c\u9762\u3002Vue\u7684\u76ee\u6807\u662f\u63d0\u4f9b\u4e00\u79cd\u7b80\u5355\u3001\u7075\u6d3b\u7684\u65b9\u5f0f\u6765\u6784\u5efa\u53ef\u7ef4\u62a4\u548c\u53ef\u590d\u7528\u7684Web\u754c\u9762\u7ec4\u4ef6\u3002 Vue\u6846\u67b6\u7684\u4e3b\u8981\u7279\u70b9\u5728\u4e8e\u5176\u7b80\u5355\u6613\u7528\u548c\u7075\u6d3b\u6027\u3002\u5b83\u91c7\u7528\u57fa\u4e8e\u7ec4\u4ef6\u7684\u67b6\u6784&#xff0c;\u5141\u8bb8\u5f00\u53d1\u8005\u5c06\u9875\u9762\u5206\u5272\u4e3a\u72ec\u7acb\u7684\u3001\u53ef\u590d\u7528\u7684\u7ec4\u4ef6&#xff0c;\u5e76\u901a\u8fc7\u7ec4\u4ef6\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u9012\u548c\u901a\u4fe1\u6765\u6784\u5efa\u590d\u6742\u7684\u7528\u6237\u754c\u9762\u3002Vue\u4f7f\u7528\u7c7b\u4f3c\u4e8eHTML\u7684\u6a21\u677f\u8bed\u6cd5&#xff0c;\u4f7f\u5f97\u5f00\u53d1\u8005\u53ef\u4ee5\u8f7b\u677e\u5730\u7f16\u5199\u754c\u9762\u6a21\u677f&#xff0c;\u5e76\u901a\u8fc7Vue\u7684\u6307\u4ee4\u548c\u63d2\u503c\u8bed\u6cd5\u5b9e\u73b0\u52a8\u6001\u6570\u636e\u7ed1\u5b9a\u548c\u9875\u9762\u6e32\u67d3\u3002Vue\u8fd8\u652f\u6301\u54cd\u5e94\u5f0f\u6570\u636e\u7ed1\u5b9a&#xff0c;\u9875\u9762\u4f1a\u81ea\u52a8\u66f4\u65b0\u4ee5\u53cd\u6620\u6700\u65b0\u7684\u6570\u636e\u72b6\u6001\u3002\u6b64\u5916&#xff0c;Vue\u8fd8\u652f\u6301\u865a\u62dfDOM\u6280\u672f&#xff0c;\u901a\u8fc7DOM\u7684\u9ad8\u6548\u66f4\u65b0\u548c\u6e32\u67d3&#xff0c;\u63d0\u9ad8\u4e86\u9875\u9762\u6027\u80fd\u548c\u7528\u6237\u4f53\u9a8c\u3002 \u603b\u7684\u6765\u8bf4&#xff0c;Vue\u6846\u67b6\u662f\u4e00\u79cd\u7b80\u5355\u6613\u7528\u3001\u7075\u6d3b\u53ef\u6269\u5c55\u7684\u524d\u7aef\u5f00\u53d1\u6846\u67b6&#xff0c;\u9002\u7528\u4e8e\u6784\u5efa\u5404\u79cd\u89c4\u6a21\u548c\u7c7b\u578b\u7684Web\u5e94\u7528\u7a0b\u5e8f\u3002\u5176\u4f18\u96c5\u7684\u8bbe\u8ba1\u548c\u4e30\u5bcc\u7684\u529f\u80fd\u4f7f\u5f97\u5f00\u53d1\u8005\u80fd\u591f\u5feb\u901f\u6784\u5efa\u73b0\u4ee3\u5316\u7684\u3001\u4ea4\u4e92\u5f0f\u7684\u7528\u6237\u754c\u9762\u3002 \u603b\u7684\u6765\u8bf4&#xff0c;Vue\u6846\u67b6\u662f\u4e00\u79cd\u7b80\u5355\u6613\u7528\u3001\u7075\u6d3b\u53ef\u6269\u5c55\u7684\u524d\u7aef\u5f00\u53d1\u6846\u67b6&#xff0c;\u9002\u7528\u4e8e\u6784\u5efa\u5404\u79cd\u89c4\u6a21\u548c\u7c7b\u578b\u7684Web\u5e94\u7528\u7a0b\u5e8f\u3002\u5176\u4f18\u96c5\u7684\u8bbe\u8ba1\u548c\u4e30\u5bcc\u7684\u529f\u80fd\u4f7f\u5f97\u5f00\u53d1\u8005\u80fd\u591f\u5feb\u901f\u6784\u5efa\u73b0\u4ee3\u5316\u7684\u3001\u4ea4\u4e92\u5f0f\u7684\u7528\u6237\u754c\u9762\u3002<\/p>\n<h3>MySQL\u6570\u636e\u5e93<\/h3>\n<p>MySQL\u662f\u4e00\u79cd\u5e7f\u6cdb\u4f7f\u7528\u7684\u5f00\u6e90\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf&#xff0c;\u7528\u6237\u53ef\u4ee5\u514d\u8d39\u83b7\u53d6\u5e76\u81ea\u7531\u4f7f\u7528\u3002\u5b83\u6709\u7740\u826f\u597d\u7684\u8de8\u5e73\u53f0\u6027&#xff0c;\u5728\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u90fd\u80fd\u8fd0\u884c&#xff0c;\u5305\u62ecLinux\u3001Windows\u548cmac OS\u3002MySQL\u62e5\u6709\u51fa\u8272\u7684\u6027\u80fd\u548c\u7a33\u5b9a\u6027&#xff0c;\u80fd\u591f\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u548c\u9ad8\u5e76\u53d1\u8bbf\u95ee&#xff0c;\u4fdd\u8bc1\u4e86\u5e94\u7528\u7a0b\u5e8f\u7684\u7a33\u5b9a\u8fd0\u884c\u3002MySQL\u63d0\u4f9b\u4e86\u53cb\u597d\u7684\u7ba1\u7406\u5de5\u5177\u548c\u547d\u4ee4\u884c\u754c\u9762&#xff0c;\u4f7f\u7528\u6237\u53ef\u4ee5\u8f7b\u677e\u7ba1\u7406\u6570\u636e\u5e93\u3001\u6267\u884c\u67e5\u8be2\u548c\u7ef4\u62a4\u6570\u636e\u3002MySQL\u5177\u6709\u5f3a\u5927\u7684\u5b89\u5168\u529f\u80fd&#xff0c;\u5305\u62ec\u7528\u6237\u6743\u9650\u7ba1\u7406\u3001\u6570\u636e\u52a0\u5bc6\u548c\u5b89\u5168\u8fde\u63a5&#xff0c;\u786e\u4fdd\u4e86\u6570\u636e\u7684\u5b89\u5168\u6027\u548c\u4fdd\u5bc6\u6027\u3002MySQL\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u6570\u636e\u5e93\u529f\u80fd\u548c\u7279\u6027&#xff0c;\u5305\u62ec\u89e6\u53d1\u5668\u3001\u5b58\u50a8\u8fc7\u7a0b\u3001\u89c6\u56fe\u3001\u5168\u6587\u641c\u7d22\u7b49&#xff0c;\u540c\u65f6\u652f\u6301\u591a\u79cd\u5b58\u50a8\u5f15\u64ce&#xff0c;\u6ee1\u8db3\u4e86\u5404\u79cd\u590d\u6742\u4e1a\u52a1\u9700\u6c42\u3002MySQL\u62e5\u6709\u5e9e\u5927\u7684\u7528\u6237\u793e\u533a\u548c\u6d3b\u8dc3\u7684\u5f00\u53d1\u8005\u793e\u533a&#xff0c;\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u793e\u533a\u83b7\u53d6\u652f\u6301\u3001\u5206\u4eab\u7ecf\u9a8c\u548c\u89e3\u51b3\u95ee\u9898\u3002MySQL\u5728\u4f01\u4e1a\u7ea7\u5e94\u7528\u5f00\u53d1\u3001Web\u5f00\u53d1\u548c\u5927\u6570\u636e\u5904\u7406\u7b49\u9886\u57df\u6709\u7740\u5e7f\u6cdb\u7684\u5e94\u7528&#xff0c;\u662f\u8bb8\u591a\u5f00\u53d1\u8005\u548c\u4f01\u4e1a\u7684\u9996\u9009\u6570\u636e\u5e93\u89e3\u51b3\u65b9\u6848\u3002 \u7efc\u4e0a\u6240\u8ff0&#xff0c;MySQL \u662f\u4e00\u79cd\u529f\u80fd\u5f3a\u5927\u3001\u7a33\u5b9a\u53ef\u9760\u3001\u6613\u7528\u7075\u6d3b\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf&#xff0c;\u9002\u7528\u4e8e\u5404\u79cd\u89c4\u6a21\u548c\u7c7b\u578b\u7684\u5e94\u7528\u573a\u666f\u3002\u5176\u5f00\u6e90\u6027\u3001\u8de8\u5e73\u53f0\u6027\u548c\u4e30\u5bcc\u7684\u529f\u80fd\u4f7f\u5176\u6210\u4e3a\u4e86\u8bb8\u591a\u5f00\u53d1\u8005\u548c\u4f01\u4e1a\u7684\u9996\u9009\u6570\u636e\u5e93\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<h3>\u6838\u5fc3\u4ee3\u7801<\/h3>\n<p>import com.google.code.kaptcha.impl.DefaultKaptcha;<br \/>\nimport com.sun.org.apache.xpath.internal.operations.Mod;<br \/>\nimport com.xhu.pojo.Admin;<br \/>\nimport com.xhu.pojo.Msg;<br \/>\nimport com.xhu.pojo.Student;<br \/>\nimport com.xhu.service.AdminService;<br \/>\nimport com.xhu.service.StudentService;<br \/>\nimport org.springframework.beans.factory.annotation.Autowired;<br \/>\nimport org.springframework.boot.web.servlet.server.Session;<br \/>\nimport org.springframework.stereotype.Controller;<br \/>\nimport org.springframework.ui.Model;<br \/>\nimport org.springframework.web.bind.annotation.*;<br \/>\nimport sun.security.util.Password;<\/p>\n<p>import javax.imageio.ImageIO;<br \/>\nimport javax.servlet.ServletException;<br \/>\nimport javax.servlet.ServletOutputStream;<br \/>\nimport javax.servlet.http.Cookie;<br \/>\nimport javax.servlet.http.HttpServletRequest;<br \/>\nimport javax.servlet.http.HttpServletResponse;<br \/>\nimport javax.servlet.http.HttpSession;<br \/>\nimport java.awt.image.BufferedImage;<br \/>\nimport java.io.ByteArrayOutputStream;<br \/>\nimport java.io.IOException;<\/p>\n<p>&#064;Controller<br \/>\npublic class LoginController {<\/p>\n<p>    &#064;Autowired<br \/>\n    DefaultKaptcha defaultKaptcha;<\/p>\n<p>    &#064;Autowired<br \/>\n    StudentService studentService;<\/p>\n<p>    &#064;Autowired<br \/>\n    AdminService adminService;<\/p>\n<p>\/\/    &#064;RequestMapping(&#034;\/login.html&#034;)<br \/>\n\/\/    public String login(){<br \/>\n\/\/        return &#034;login&#034;;<br \/>\n\/\/    }<\/p>\n<p>    \/\/\u83b7\u53d6\u9a8c\u8bc1\u7801<br \/>\n    &#064;RequestMapping(&#034;\/getCode&#034;)<br \/>\n    public void defaultKaptcha(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws Exception{<br \/>\n        byte[] captchaChallengeAsJpeg &#061; null;<br \/>\n        ByteArrayOutputStream jpegOutputStream &#061; new ByteArrayOutputStream();<br \/>\n        try {<br \/>\n            \/\/\u751f\u4ea7\u9a8c\u8bc1\u7801\u5b57\u7b26\u4e32\u5e76\u4fdd\u5b58\u5230session\u4e2d<br \/>\n            String createText &#061; defaultKaptcha.createText();<br \/>\n            httpServletRequest.getSession().setAttribute(&#034;vrifyCode&#034;, createText);<br \/>\n            \/\/\u4f7f\u7528\u751f\u4ea7\u7684\u9a8c\u8bc1\u7801\u5b57\u7b26\u4e32\u8fd4\u56de\u4e00\u4e2aBufferedImage\u5bf9\u8c61\u5e76\u8f6c\u4e3abyte\u5199\u5165\u5230byte\u6570\u7ec4\u4e2d<br \/>\n            BufferedImage challenge &#061; defaultKaptcha.createImage(createText);<br \/>\n            ImageIO.write(challenge, &#034;jpg&#034;, jpegOutputStream);<br \/>\n        } catch (IllegalArgumentException e) {<br \/>\n            httpServletResponse.sendError(HttpServletResponse.SC_NOT_FOUND);<br \/>\n            return;<br \/>\n        }<br \/>\n        \/\/\u5b9a\u4e49response\u8f93\u51fa\u7c7b\u578b\u4e3aimage\/jpeg\u7c7b\u578b&#xff0c;\u4f7f\u7528response\u8f93\u51fa\u6d41\u8f93\u51fa\u56fe\u7247\u7684byte\u6570\u7ec4<br \/>\n        captchaChallengeAsJpeg &#061; jpegOutputStream.toByteArray();<br \/>\n        httpServletResponse.setHeader(&#034;Cache-Control&#034;, &#034;no-store&#034;);<br \/>\n        httpServletResponse.setHeader(&#034;Pragma&#034;, &#034;no-cache&#034;);<br \/>\n        httpServletResponse.setDateHeader(&#034;Expires&#034;, 0);<br \/>\n        httpServletResponse.setContentType(&#034;image\/jpeg&#034;);<br \/>\n        ServletOutputStream responseOutputStream &#061;<br \/>\n                httpServletResponse.getOutputStream();<br \/>\n        responseOutputStream.write(captchaChallengeAsJpeg);<br \/>\n        responseOutputStream.flush();<br \/>\n        responseOutputStream.close();<br \/>\n    }<\/p>\n<p>    \/\/\u9a8c\u8bc1\u7801\u9a8c\u8bc1<br \/>\n    &#064;RequestMapping(&#034;\/login&#034;)<br \/>\n    public String login(&#064;RequestParam(&#034;id&#034;)Integer id,<br \/>\n                        &#064;RequestParam(&#034;password&#034;) String password,<br \/>\n                        &#064;RequestParam(&#034;userType&#034;) String userType,<br \/>\n                        HttpServletRequest request,<br \/>\n                        HttpServletResponse response,<br \/>\n                        HttpSession session,<br \/>\n                        Model model) {<br \/>\n        \/\/\u83b7\u53d6session\u57df\u4e2d\u9a8c\u8bc1\u7801<br \/>\n        String captchaId &#061; (String) request.getSession().getAttribute(&#034;vrifyCode&#034;);<br \/>\n\/\/        System.out.println(captchaId.toLowerCase());<br \/>\n        \/\/\u83b7\u53d6\u7528\u6237\u586b\u5199\u7684\u9a8c\u8bc1\u7801<br \/>\n        String parameter &#061; request.getParameter(&#034;code&#034;);<br \/>\n\/\/        System.out.println(parameter.toLowerCase());<\/p>\n<p>\/\/        String value1&#061;&#034;&#034;;<br \/>\n\/\/        String value2&#061;&#034;&#034;;<br \/>\n\/\/        Cookie cookie1&#061;new Cookie(&#034;id&#034;,id&#043;&#034;&#034;);<br \/>\n\/\/        Cookie cookie2&#061;new Cookie(&#034;password&#034;,password);<br \/>\n\/\/        cookie1.setMaxAge(60*60*24);<br \/>\n\/\/        cookie2.setMaxAge(60*60*24);<br \/>\n\/\/        response.addCookie(cookie1);<br \/>\n\/\/        response.addCookie(cookie2);<\/p>\n<p>        if (&#034;1&#034;.equals(userType)) {<br \/>\n            Admin admin &#061; adminService.queryAdminById(id);<br \/>\n            if (captchaId.toLowerCase().equals(parameter.toLowerCase())) {<br \/>\n                if (admin !&#061; null &amp;&amp; password.equals(admin.getAdminPassword())) {<br \/>\n                    \/\/\u7528\u6237\u5b58\u5728,\u767b\u5f55\u6210\u529f<br \/>\n                    session.setAttribute(&#034;admin&#034;, admin);<br \/>\n                    return &#034;redirect:admin\/index.html&#034;;<br \/>\n                } else {<br \/>\n                    model.addAttribute(&#034;msg&#034;, &#034;\u7528\u6237\u540d\u6216\u8005\u5bc6\u7801\u9519\u8bef&#xff01;&#034;);<br \/>\n                    model.addAttribute(&#034;id&#034;,id);<br \/>\n                    model.addAttribute(&#034;userType&#034;,userType);<br \/>\n                    return &#034;login.html&#034;;<br \/>\n                }<br \/>\n            }<br \/>\n            else {<br \/>\n                \/\/\u9a8c\u8bc1\u7801\u9519\u8bef<br \/>\n                model.addAttribute(&#034;msg&#034;, &#034;\u9a8c\u8bc1\u7801\u9519\u8bef&#xff01;&#034;);<br \/>\n\/\/                Cookie[] cookies&#061;request.getCookies();<br \/>\n\/\/                for(Cookie cookie:cookies){<br \/>\n\/\/                    if(&#034;id&#034;.equals(cookie.getName())){<br \/>\n\/\/                         value1 &#061; cookie.getValue();<br \/>\n\/\/                    }<br \/>\n\/\/                    if(&#034;password&#034;.equals(cookie.getName())){<br \/>\n\/\/                        value2 &#061; cookie.getValue();<br \/>\n\/\/                    }<br \/>\n\/\/                }<br \/>\n\/\/                model.addAttribute(&#034;id&#034;,value1);<br \/>\n\/\/                model.addAttribute(&#034;password&#034;,value2);<br \/>\n                model.addAttribute(&#034;id&#034;,id);<br \/>\n                model.addAttribute(&#034;password&#034;,password);<br \/>\n                model.addAttribute(&#034;userType&#034;,userType);<\/p>\n<p>                return &#034;login.html&#034;;<br \/>\n            }<\/p>\n<p>        }<br \/>\n        else {<br \/>\n            Student student &#061; studentService.queryStuById(id);<\/p>\n<p>            if (captchaId.toLowerCase().equals(parameter.toLowerCase())) {<br \/>\n                if (student !&#061; null &amp;&amp; password.equals(student.getPassword())) {<br \/>\n                    \/\/\u7528\u6237\u5b58\u5728,\u767b\u5f55\u6210\u529f<br \/>\n                    session.setAttribute(&#034;student&#034;, student);<br \/>\n                    Cookie cookie1&#061;new Cookie(&#034;id&#034;,student.getId()&#043;&#034;&#034;);<br \/>\n                    cookie1.setMaxAge(60*60*24);<br \/>\n                    response.addCookie(cookie1);<br \/>\n                    return &#034;redirect:student\/index-stu.html&#034;;<br \/>\n                } else {<br \/>\n                    model.addAttribute(&#034;msg&#034;, &#034;\u7528\u6237\u540d\u6216\u8005\u5bc6\u7801\u9519\u8bef&#xff01;&#034;);<br \/>\n                    model.addAttribute(&#034;id&#034;,id);<br \/>\n                    model.addAttribute(&#034;userType&#034;,userType);<br \/>\n                    return &#034;login.html&#034;;<br \/>\n                }<br \/>\n            } else {<br \/>\n                \/\/\u9a8c\u8bc1\u7801\u9519\u8bef<br \/>\n                model.addAttribute(&#034;msg&#034;, &#034;\u9a8c\u8bc1\u7801\u9519\u8bef&#xff01;&#034;);<br \/>\n                model.addAttribute(&#034;id&#034;,id);<br \/>\n                model.addAttribute(&#034;password&#034;,password);<br \/>\n                model.addAttribute(&#034;userType&#034;,userType);<br \/>\n                return &#034;login.html&#034;;<br \/>\n            }<\/p>\n<p>        }<br \/>\n    }<\/p>\n<p>    &#064;RequestMapping(&#034;\/admin\/logout&#034;)<br \/>\n    public String logout(HttpSession session){<br \/>\n        session.invalidate();<br \/>\n        return &#034;redirect:login&#034;;<br \/>\n    }<\/p>\n<p>    &#064;RequestMapping(&#034;\/student\/logout&#034;)<br \/>\n    public String stuLogout(HttpSession session){<br \/>\n        session.invalidate();<br \/>\n        return &#034;redirect:login&#034;;<br \/>\n    }<br \/>\n}<\/p>\n<h3>\u6e90\u7801\u83b7\u53d6<\/h3>\n<p><font size=\"3\"> &#x1f345;\u7531\u4e8e\u7bc7\u5e45\u9650\u5236&#xff0c;\u83b7\u53d6\u5b8c\u6574\u6587\u7ae0\u6216\u6e90\u7801\u3001\u4ee3\u505a\u9879\u76ee\u7684&#xff0c;\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\u3002&#x1f345; \u70b9\u8d5e\u3001\u6536\u85cf\u3001\u5173\u6ce8&#xff0c;\u4e0d\u8ff7\u8def<\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\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; \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; \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; \u524d\u8a00 \u672c\u8bfe\u9898\u9488\u5bf9\u515a\u653f\u673a\u5173\u53ca\u4f01\u4e8b\u4e1a\u5355\u4f4d\u4f20\u7edf\u516c\u52a1\u7528\u8f66\u7ba1\u7406\u5b58\u5728\u7684\u7528\u8f66\u7533\u8bf7\u6d41\u7a0b\u7e41\u7410\u3001\u4eba\u5de5\u8c03\u5ea6\u6548\u7387\u4f4e\u3001\u8f66\u8f86\u8d44\u6e90\u5206\u914d\u4e0d\u5408\u7406\u3001\u7528\u8f66\u5ba1\u6279\u4e0d\u89c4\u8303\u3001\u8f66\u8f86<\/p>\n","protected":false},"author":2,"featured_media":93522,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[98,292,938],"topic":[],"class_list":["post-93534","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-spring-boot","tag-292","tag-938"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u57fa\u4e8eSpringBoot\u7684\u516c\u52a1\u7528\u8f66\u8c03\u5ea6\u7ba1\u7406\u5e73\u53f0\u7cfb\u7edf\u6bd5\u8bbe\u6e90\u7801+\u6587\u6863+\u8bb2\u89e3\u89c6\u9891 - \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\/93534.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u57fa\u4e8eSpringBoot\u7684\u516c\u52a1\u7528\u8f66\u8c03\u5ea6\u7ba1\u7406\u5e73\u53f0\u7cfb\u7edf\u6bd5\u8bbe\u6e90\u7801+\u6587\u6863+\u8bb2\u89e3\u89c6\u9891 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\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; \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; \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; \u524d\u8a00 \u672c\u8bfe\u9898\u9488\u5bf9\u515a\u653f\u673a\u5173\u53ca\u4f01\u4e8b\u4e1a\u5355\u4f4d\u4f20\u7edf\u516c\u52a1\u7528\u8f66\u7ba1\u7406\u5b58\u5728\u7684\u7528\u8f66\u7533\u8bf7\u6d41\u7a0b\u7e41\u7410\u3001\u4eba\u5de5\u8c03\u5ea6\u6548\u7387\u4f4e\u3001\u8f66\u8f86\u8d44\u6e90\u5206\u914d\u4e0d\u5408\u7406\u3001\u7528\u8f66\u5ba1\u6279\u4e0d\u89c4\u8303\u3001\u8f66\u8f86\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/93534.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-12T11:17:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260812111708-6a7c563499728.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=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/93534.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/93534.html\",\"name\":\"\u57fa\u4e8eSpringBoot\u7684\u516c\u52a1\u7528\u8f66\u8c03\u5ea6\u7ba1\u7406\u5e73\u53f0\u7cfb\u7edf\u6bd5\u8bbe\u6e90\u7801+\u6587\u6863+\u8bb2\u89e3\u89c6\u9891 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-12T11:17:18+00:00\",\"dateModified\":\"2026-08-12T11:17:18+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/93534.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/93534.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/93534.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u57fa\u4e8eSpringBoot\u7684\u516c\u52a1\u7528\u8f66\u8c03\u5ea6\u7ba1\u7406\u5e73\u53f0\u7cfb\u7edf\u6bd5\u8bbe\u6e90\u7801+\u6587\u6863+\u8bb2\u89e3\u89c6\u9891\"}]},{\"@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\u7684\u516c\u52a1\u7528\u8f66\u8c03\u5ea6\u7ba1\u7406\u5e73\u53f0\u7cfb\u7edf\u6bd5\u8bbe\u6e90\u7801+\u6587\u6863+\u8bb2\u89e3\u89c6\u9891 - \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\/93534.html","og_locale":"zh_CN","og_type":"article","og_title":"\u57fa\u4e8eSpringBoot\u7684\u516c\u52a1\u7528\u8f66\u8c03\u5ea6\u7ba1\u7406\u5e73\u53f0\u7cfb\u7edf\u6bd5\u8bbe\u6e90\u7801+\u6587\u6863+\u8bb2\u89e3\u89c6\u9891 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\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; \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; \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; \u524d\u8a00 \u672c\u8bfe\u9898\u9488\u5bf9\u515a\u653f\u673a\u5173\u53ca\u4f01\u4e8b\u4e1a\u5355\u4f4d\u4f20\u7edf\u516c\u52a1\u7528\u8f66\u7ba1\u7406\u5b58\u5728\u7684\u7528\u8f66\u7533\u8bf7\u6d41\u7a0b\u7e41\u7410\u3001\u4eba\u5de5\u8c03\u5ea6\u6548\u7387\u4f4e\u3001\u8f66\u8f86\u8d44\u6e90\u5206\u914d\u4e0d\u5408\u7406\u3001\u7528\u8f66\u5ba1\u6279\u4e0d\u89c4\u8303\u3001\u8f66\u8f86","og_url":"https:\/\/www.wsisp.com\/helps\/93534.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-12T11:17:18+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260812111708-6a7c563499728.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/93534.html","url":"https:\/\/www.wsisp.com\/helps\/93534.html","name":"\u57fa\u4e8eSpringBoot\u7684\u516c\u52a1\u7528\u8f66\u8c03\u5ea6\u7ba1\u7406\u5e73\u53f0\u7cfb\u7edf\u6bd5\u8bbe\u6e90\u7801+\u6587\u6863+\u8bb2\u89e3\u89c6\u9891 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-12T11:17:18+00:00","dateModified":"2026-08-12T11:17:18+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/93534.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/93534.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/93534.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u57fa\u4e8eSpringBoot\u7684\u516c\u52a1\u7528\u8f66\u8c03\u5ea6\u7ba1\u7406\u5e73\u53f0\u7cfb\u7edf\u6bd5\u8bbe\u6e90\u7801+\u6587\u6863+\u8bb2\u89e3\u89c6\u9891"}]},{"@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\/93534","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=93534"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/93534\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/93522"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=93534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=93534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=93534"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=93534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}