{"id":115165,"date":"2026-10-11T10:56:54","date_gmt":"2026-10-11T02:56:54","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/115165.html"},"modified":"2026-10-11T10:56:54","modified_gmt":"2026-10-11T02:56:54","slug":"ai-%e4%bc%9a%e5%8f%96%e4%bb%a3%e5%85%a8%e6%a0%88%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%90%97%ef%bc%9f%e5%9f%ba%e4%ba%8e-spring-boot-vue3-%e7%9a%84%e6%b7%b1%e5%ba%a6%e6%80%9d%e8%80%83","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/115165.html","title":{"rendered":"AI \u4f1a\u53d6\u4ee3\u5168\u6808\u5de5\u7a0b\u5e08\u5417\uff1f\u57fa\u4e8e Spring Boot + Vue3 \u7684\u6df1\u5ea6\u601d\u8003"},"content":{"rendered":"<h2>AI \u4f1a\u53d6\u4ee3\u5168\u6808\u5de5\u7a0b\u5e08\u5417&#xff1f;\u57fa\u4e8e Spring Boot &#043; Vue3 \u7684\u6df1\u5ea6\u601d\u8003<\/h2>\n<h3>\u524d\u8a00<\/h3>\n<p>\u8fc7\u53bb\u534a\u5e74\u91cc&#xff0c;\u6211\u6240\u5728\u7684\u56e2\u961f\u7ecf\u5386\u4e86\u4e00\u6b21\u4e0d\u5927\u4e0d\u5c0f\u7684\u6280\u672f\u8def\u7ebf\u4e89\u8bba\u3002\u8d77\u56e0\u5f88\u7b80\u5355&#xff1a;\u4e00\u4f4d\u521a\u5165\u804c\u7684\u5e74\u8f7b\u540c\u4e8b\u7528 Claude Code \u5728\u4e24\u5929\u5185\u642d\u51fa\u4e86\u4e00\u4e2a\u5305\u542b\u7528\u6237\u8ba4\u8bc1\u3001\u6743\u9650\u7ba1\u7406\u548c\u6570\u636e\u770b\u677f\u7684\u524d\u540e\u7aef\u5206\u79bb\u7cfb\u7edf&#xff0c;\u529f\u80fd\u5b8c\u6574\u5ea6\u76f8\u5f53\u9ad8\u3002\u4ed6\u7684\u7ed3\u8bba\u5f88\u76f4\u63a5\u2014\u2014\u201c\u5168\u6808\u5de5\u7a0b\u5e08\u7684\u6d3b&#xff0c;AI \u5df2\u7ecf\u80fd\u5e72\u4e86\u767e\u5206\u4e4b\u4e03\u516b\u5341&#xff0c;\u6211\u4eec\u8fd8\u6709\u5fc5\u8981\u82b1\u65f6\u95f4\u6df1\u5165\u638c\u63e1 Spring Boot \u548c Vue3 \u7684\u7ec6\u8282\u5417&#xff1f;\u201d<\/p>\n<p>\u8fd9\u4e2a\u95ee\u9898\u5728\u56e2\u961f\u91cc\u5f15\u53d1\u4e86\u6301\u7eed\u4e24\u5468\u7684\u8ba8\u8bba\u3002\u8bf4\u5b9e\u8bdd&#xff0c;\u6211\u5f53\u65f6\u7684\u56de\u7b54\u5e76\u4e0d\u8ba9\u81ea\u5df1\u6ee1\u610f\u3002\u76f4\u5230\u540e\u6765\u6211\u4eec\u63a5\u624b\u4e86\u4e00\u4e2a\u771f\u5b9e\u7684\u4e2d\u578b\u9879\u76ee\u2014\u2014\u57fa\u4e8e Spring Boot 3 &#043; Vue 3 \u7684\u4f9b\u5e94\u94fe\u534f\u540c\u5e73\u53f0&#xff0c;\u5728 AI \u8f85\u52a9\u7f16\u7801\u6210\u4e3a\u5e38\u6001\u7684\u5f00\u53d1\u6a21\u5f0f\u4e0b&#xff0c;\u6211\u624d\u6709\u673a\u4f1a\u7cfb\u7edf\u6027\u5730\u89c2\u5bdf\u8fd9\u4ef6\u4e8b\u3002<\/p>\n<p>\u672c\u6587\u8981\u8ba8\u8bba\u7684\u6838\u5fc3\u95ee\u9898\u53ea\u6709\u4e00\u4e2a&#xff1a;\u5f53 AI \u80fd\u591f\u4ee5\u6781\u4f4e\u6210\u672c\u751f\u6210 Spring Boot \u540e\u7aef\u63a5\u53e3\u548c Vue3 \u524d\u7aef\u7ec4\u4ef6\u65f6&#xff0c;\u5168\u6808\u5de5\u7a0b\u5e08\u8fd9\u4e2a\u89d2\u8272\u7684\u4ef7\u503c\u53d1\u751f\u4e86\u4ec0\u4e48\u53d8\u5316&#xff1f;\u54ea\u4e9b\u80fd\u529b\u5728\u8d2c\u503c&#xff0c;\u54ea\u4e9b\u80fd\u529b\u53cd\u800c\u5728\u5347\u503c&#xff1f;\u6211\u4f1a\u4ece\u5b9e\u9645\u9879\u76ee\u51fa\u53d1&#xff0c;\u62c6\u89e3 AI \u5728\u5168\u6808\u5f00\u53d1\u94fe\u8def\u4e2d\u7684\u771f\u5b9e\u80fd\u529b\u8fb9\u754c&#xff0c;\u5206\u6790 AI \u751f\u6210\u4ee3\u7801\u5728 Spring Boot &#043; Vue3 \u6280\u672f\u6808\u4e0a\u7684\u5178\u578b\u95ee\u9898&#xff0c;\u7136\u540e\u7ed9\u51fa\u53ef\u843d\u5730\u7684\u80fd\u529b\u5347\u7ea7\u8def\u5f84\u3002<\/p>\n<p>\u672c\u6587\u9002\u5408\u6b63\u5728\u4f7f\u7528\u6216\u51c6\u5907\u4f7f\u7528 AI \u8f85\u52a9\u5f00\u53d1\u7684\u5168\u6808\u5f00\u53d1\u8005\u3001\u6280\u672f\u8d1f\u8d23\u4eba&#xff0c;\u4ee5\u53ca\u5bf9\u81ea\u5df1\u804c\u4e1a\u65b9\u5411\u611f\u5230\u56f0\u60d1\u7684\u4e2d\u7ea7\u7814\u53d1\u3002\u8bfb\u5b8c\u540e\u4f60\u5e94\u8be5\u80fd\u6e05\u695a\u5224\u65ad&#xff1a;\u5728\u5f53\u524d\u6280\u672f\u9636\u6bb5&#xff0c;\u54ea\u4e9b\u5168\u6808\u80fd\u529b\u503c\u5f97\u6301\u7eed\u6295\u5165&#xff0c;\u54ea\u4e9b\u5de5\u4f5c\u53ef\u4ee5\u653e\u5fc3\u4ea4\u7ed9 AI&#xff0c;\u4ee5\u53ca\u5982\u4f55\u907f\u514d\u201c\u770b\u8d77\u6765\u6548\u7387\u63d0\u5347\u3001\u5b9e\u9645\u4e0a\u6280\u672f\u503a\u7ffb\u500d\u201d\u7684\u5e38\u89c1\u9677\u9631\u3002<\/p>\n<h3>\u4e00\u3001AI \u5728\u5168\u6808\u5f00\u53d1\u4e2d\u7684\u771f\u5b9e\u80fd\u529b\u8fb9\u754c<\/h3>\n<h4>1.1 \u540e\u7aef&#xff1a;Spring Boot \u63a5\u53e3\u5c42\u7684\u201c\u9ad8\u5b8c\u6210\u5ea6\u201d\u4e0e\u201c\u4f4e\u5224\u65ad\u529b\u201d<\/h4>\n<p>\u5148\u8bf4\u7ed3\u8bba&#xff1a;\u5728 Spring Boot \u540e\u7aef\u5f00\u53d1\u4e2d&#xff0c;AI \u5bf9 Controller \u5c42\u3001Service \u5c42\u7684\u57fa\u7840 CRUD \u903b\u8f91\u4ee5\u53ca Mapper \u6620\u5c04\u6587\u4ef6\u7684\u751f\u6210\u8d28\u91cf&#xff0c;\u5df2\u7ecf\u8fbe\u5230\u4e86\u76f8\u5f53\u53ef\u7528\u7684\u6c34\u5e73\u3002\u4ee5\u4e00\u4e2a\u5178\u578b\u7684\u8ba2\u5355\u7ba1\u7406\u6a21\u5757\u4e3a\u4f8b&#xff0c;\u4f60\u53ea\u9700\u8981\u63cf\u8ff0\u6e05\u695a\u5b9e\u4f53\u5b57\u6bb5\u548c\u4e1a\u52a1\u89c4\u5219&#xff0c;AI \u80fd\u5728\u4e00\u6b21\u5bf9\u8bdd\u4e2d\u4ea7\u51fa\u7ed3\u6784\u5b8c\u6574\u7684\u4ee3\u7801\u3002<\/p>\n<p><span class=\"token comment\">\/\/ AI \u751f\u6210\u7684 Controller \u5c42\u4ee3\u7801&#xff0c;\u7ed3\u6784\u89c4\u6574\u4f46\u9700\u4eba\u5de5\u5ba1\u67e5\u5b89\u5168\u8fb9\u754c<\/span><br \/>\n<span class=\"token annotation punctuation\">&#064;RestController<\/span><br \/>\n<span class=\"token annotation punctuation\">&#064;RequestMapping<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\/api\/orders&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token annotation punctuation\">&#064;RequiredArgsConstructor<\/span><br \/>\n<span class=\"token keyword\">public<\/span> <span class=\"token keyword\">class<\/span> <span class=\"token class-name\">OrderController<\/span> <span class=\"token punctuation\">{<\/span><\/p>\n<p>    <span class=\"token keyword\">private<\/span> <span class=\"token keyword\">final<\/span> <span class=\"token class-name\">OrderService<\/span> orderService<span class=\"token punctuation\">;<\/span><\/p>\n<p>    <span class=\"token annotation punctuation\">&#064;GetMapping<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\/{id}&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">public<\/span> <span class=\"token class-name\">R<\/span><span class=\"token generics\"><span class=\"token punctuation\">&lt;<\/span><span class=\"token class-name\">OrderVO<\/span><span class=\"token punctuation\">&gt;<\/span><\/span> <span class=\"token function\">getOrder<\/span><span class=\"token punctuation\">(<\/span><span class=\"token annotation punctuation\">&#064;PathVariable<\/span> <span class=\"token class-name\">Long<\/span> id<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token comment\">\/\/ \u6ce8\u610f&#xff1a;AI \u9ed8\u8ba4\u4e0d\u4f1a\u4e3b\u52a8\u6dfb\u52a0\u8d8a\u6743\u6821\u9a8c<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token class-name\">R<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">ok<\/span><span class=\"token punctuation\">(<\/span>orderService<span class=\"token punctuation\">.<\/span><span class=\"token function\">getOrderDetail<\/span><span class=\"token punctuation\">(<\/span>id<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><\/p>\n<p>    <span class=\"token annotation punctuation\">&#064;PostMapping<\/span><br \/>\n    <span class=\"token keyword\">public<\/span> <span class=\"token class-name\">R<\/span><span class=\"token generics\"><span class=\"token punctuation\">&lt;<\/span><span class=\"token class-name\">Long<\/span><span class=\"token punctuation\">&gt;<\/span><\/span> <span class=\"token function\">createOrder<\/span><span class=\"token punctuation\">(<\/span><span class=\"token annotation punctuation\">&#064;RequestBody<\/span> <span class=\"token annotation punctuation\">&#064;Valid<\/span> <span class=\"token class-name\">OrderCreateDTO<\/span> dto<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token class-name\">R<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">ok<\/span><span class=\"token punctuation\">(<\/span>orderService<span class=\"token punctuation\">.<\/span><span class=\"token function\">createOrder<\/span><span class=\"token punctuation\">(<\/span>dto<span class=\"token punctuation\">)<\/span><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>\u8fd9\u6bb5\u4ee3\u7801\u7684\u751f\u6210\u901f\u5ea6\u6781\u5feb&#xff0c;\u683c\u5f0f\u4e5f\u7b26\u5408\u89c4\u8303\u3002\u4f46\u95ee\u9898\u85cf\u5728\u7ec6\u8282\u91cc&#xff1a;AI \u4e0d\u4f1a\u4e3b\u52a8\u8ffd\u95ee\u201c\u8fd9\u4e2a\u63a5\u53e3\u662f\u5426\u9700\u8981\u505a\u6570\u636e\u6743\u9650\u9694\u79bb\u201d&#xff0c;\u4e5f\u4e0d\u4f1a\u63d0\u9192\u4f60 &#064;PathVariable \u7684 id \u9700\u8981\u6821\u9a8c\u662f\u5426\u5c5e\u4e8e\u5f53\u524d\u767b\u5f55\u7528\u6237\u3002\u5728\u6211\u7ecf\u5386\u7684\u9879\u76ee\u4e2d&#xff0c;\u6b63\u662f\u8fd9\u7c7b\u770b\u4f3c\u5fae\u5c0f\u7684\u9057\u6f0f&#xff0c;\u5728\u6d4b\u8bd5\u9636\u6bb5\u6f14\u53d8\u6210\u4e86\u4e00\u4e2a\u8d8a\u6743\u67e5\u770b\u5176\u4ed6\u4f9b\u5e94\u5546\u8ba2\u5355\u7684\u4e25\u91cd\u95ee\u9898\u3002<\/p>\n<p>\u66f4\u6df1\u5c42\u7684\u95ee\u9898\u51fa\u73b0\u5728\u4e8b\u52a1\u7ba1\u7406\u548c\u5e76\u53d1\u573a\u666f\u4e0b\u3002AI \u80fd\u591f\u751f\u6210 &#064;Transactional \u6ce8\u89e3&#xff0c;\u4f46\u5bf9\u4e8b\u52a1\u4f20\u64ad\u884c\u4e3a\u7684\u9009\u62e9\u3001\u81ea\u8c03\u7528\u5931\u6548\u95ee\u9898\u3001\u4ee5\u53ca\u5206\u5e03\u5f0f\u573a\u666f\u4e0b\u672c\u5730\u4e8b\u52a1\u7684\u5c40\u9650\u6027&#xff0c;\u7f3a\u4e4f\u771f\u6b63\u7684\u5224\u65ad\u529b\u3002\u6211\u66fe\u7ecf\u8ba9 AI \u4f18\u5316\u4e00\u6bb5\u6d89\u53ca\u5e93\u5b58\u6263\u51cf\u548c\u8ba2\u5355\u751f\u6210\u7684\u4ee3\u7801&#xff0c;\u5b83\u7ed9\u51fa\u7684\u65b9\u6848\u5728\u5355\u7ebf\u7a0b\u6d4b\u8bd5\u4e0b\u5b8c\u5168\u6b63\u786e&#xff0c;\u4f46\u5728\u5e76\u53d1\u538b\u6d4b\u4e2d\u8fc5\u901f\u66b4\u9732\u4e86\u8d85\u5356\u95ee\u9898\u2014\u2014\u800c\u8fd9\u7c7b\u95ee\u9898\u7684\u4fee\u590d&#xff0c;\u9700\u8981\u5de5\u7a0b\u5e08\u7406\u89e3\u6570\u636e\u5e93\u9694\u79bb\u7ea7\u522b\u548c\u4e50\u89c2\u9501\u673a\u5236&#xff0c;AI \u751f\u6210\u7684\u201c\u6807\u51c6\u5199\u6cd5\u201d\u5e76\u4e0d\u81ea\u52a8\u8986\u76d6\u8fd9\u4e9b\u573a\u666f\u3002<\/p>\n<h4>1.2 \u524d\u7aef&#xff1a;Vue3 \u7ec4\u4ef6\u751f\u6210\u7684\u201c\u8868\u9762\u6b63\u786e\u201d<\/h4>\n<p>Vue3 \u7684\u524d\u7aef\u5f00\u53d1\u662f AI \u8868\u73b0\u6700\u201c\u60ca\u8273\u201d\u7684\u533a\u57df\u3002\u7ed9\u5b9a\u4e00\u4e2a\u6570\u636e\u63a5\u53e3\u7684\u8fd4\u56de\u7ed3\u6784&#xff0c;AI \u80fd\u8fc5\u901f\u751f\u6210\u4f7f\u7528 &lt;script setup&gt; \u8bed\u6cd5\u7cd6\u7684\u7ec4\u4ef6&#xff0c;\u914d\u5408 Element Plus \u6216 Ant Design Vue \u7684\u8868\u683c\u3001\u8868\u5355\u7ec4\u4ef6&#xff0c;\u9875\u9762\u529f\u80fd\u770b\u8d77\u6765\u5b8c\u5168\u53ef\u7528\u3002<\/p>\n<p>&lt;!&#8211; AI \u751f\u6210\u7684 Vue3 \u5217\u8868\u9875&#xff0c;\u54cd\u5e94\u5f0f\u6570\u636e\u7ed1\u5b9a\u6b63\u786e&#xff0c;\u4f46\u72b6\u6001\u7ba1\u7406\u8fb9\u754c\u6a21\u7cca &#8211;&gt;<br \/>\n&lt;script setup lang&#061;&#034;ts&#034;&gt;<br \/>\nimport { ref, onMounted } from &#039;vue&#039;<br \/>\nimport { getOrderList } from &#039;&#064;\/api\/order&#039;<\/p>\n<p>const loading &#061; ref(false)<br \/>\nconst tableData &#061; ref([])<\/p>\n<p>const fetchData &#061; async () &#061;&gt; {<br \/>\n  loading.value &#061; true<br \/>\n  const res &#061; await getOrderList({ page: 1, size: 20 })<br \/>\n  \/\/ AI \u5f80\u5f80\u76f4\u63a5\u8d4b\u503c&#xff0c;\u7f3a\u5c11\u5bf9\u5f02\u5e38\u72b6\u6001\u548c\u7a7a\u503c\u7684\u9632\u5fa1\u5904\u7406<br \/>\n  tableData.value &#061; res.data.records<br \/>\n  loading.value &#061; false<br \/>\n}<\/p>\n<p>onMounted(fetchData)<br \/>\n&lt;\/script&gt;<\/p>\n<p>\u8868\u9762\u4e0a\u770b&#xff0c;\u8fd9\u6bb5\u4ee3\u7801\u6ca1\u6709\u95ee\u9898\u3002\u4f46\u771f\u5b9e\u9879\u76ee\u4e2d&#xff0c;res.data.records \u5728\u63a5\u53e3\u8fd4\u56de\u5f02\u5e38\u6216\u7a7a\u6570\u636e\u65f6\u4f1a\u76f4\u63a5\u5bfc\u81f4\u6a21\u677f\u6e32\u67d3\u62a5\u9519\u3002AI \u4e0d\u4f1a\u4e3b\u52a8\u6dfb\u52a0 res?.data?.records ?? [] \u8fd9\u6837\u7684\u9632\u5fa1\u6027\u5224\u65ad&#xff0c;\u4e5f\u4e0d\u4f1a\u8ffd\u95ee\u201c\u8fd9\u4e2a\u5217\u8868\u662f\u5426\u9700\u8981\u652f\u6301\u5206\u9875\u3001\u6392\u5e8f\u3001\u7b5b\u9009\u7684\u8054\u52a8\u201d\u3002<\/p>\n<p>\u66f4\u5173\u952e\u7684\u662f\u72b6\u6001\u7ba1\u7406\u7684\u8fb9\u754c\u95ee\u9898\u3002AI \u751f\u6210\u7684\u7ec4\u4ef6\u503e\u5411\u4e8e\u628a\u6240\u6709\u903b\u8f91\u585e\u8fdb\u5355\u4e2a .vue \u6587\u4ef6&#xff0c;\u5f53\u9875\u9762\u903b\u8f91\u590d\u6742\u5ea6\u4e0a\u5347\u5230\u4e00\u5b9a\u9608\u503c\u2014\u2014\u6bd4\u5982\u9700\u8981\u8de8\u7ec4\u4ef6\u5171\u4eab\u7b5b\u9009\u6761\u4ef6\u3001\u9700\u8981\u7f13\u5b58\u5217\u8868\u6eda\u52a8\u4f4d\u7f6e\u3001\u9700\u8981\u5904\u7406\u8def\u7531\u53c2\u6570\u53d8\u5316\u65f6\u7684\u6570\u636e\u5237\u65b0\u2014\u2014AI \u7684\u4ee3\u7801\u5c31\u5f00\u59cb\u53d8\u5f97\u8106\u5f31\u3002\u5b83\u4e0d\u4f1a\u4e3b\u52a8\u5efa\u8bae\u4f60\u628a\u54ea\u4e9b\u72b6\u6001\u63d0\u5347\u5230 Pinia store&#xff0c;\u54ea\u4e9b\u903b\u8f91\u62bd\u6210 composable \u51fd\u6570\u3002\u8fd9\u79cd\u67b6\u6784\u5c42\u9762\u7684\u5224\u65ad&#xff0c;\u76ee\u524d\u4ecd\u7136\u662f\u4eba\u7c7b\u5de5\u7a0b\u5e08\u7684\u804c\u8d23\u3002<\/p>\n<h3>\u4e8c\u3001AI \u751f\u6210\u4ee3\u7801\u7684\u8d28\u91cf\u9677\u9631&#xff1a;\u4ece\u201c\u80fd\u8dd1\u201d\u5230\u201c\u80fd\u7ef4\u62a4\u201d\u7684\u8ddd\u79bb<\/h3>\n<h4>2.1 \u4ee3\u7801\u590d\u6742\u5ea6\u81a8\u80c0&#xff1a;\u5f53 AI \u7684\u201c\u66f4\u5f3a\u5927\u201d\u53d8\u6210\u201c\u66f4\u81c3\u80bf\u201d<\/h4>\n<p>\u4e00\u4e2a\u503c\u5f97\u8b66\u60d5\u7684\u73b0\u8c61\u6b63\u5728\u6d6e\u73b0\u3002\u6839\u636e\u5bf9\u4e3b\u6d41\u5927\u6a21\u578b\u751f\u6210\u4ee3\u7801\u7684\u7cfb\u7edf\u6027\u5206\u6790&#xff0c;\u6a21\u578b\u5728\u57fa\u51c6\u6d4b\u8bd5\u4e2d\u7684\u8868\u73b0\u8d8a\u201c\u4f18\u79c0\u201d&#xff0c;\u5176\u751f\u6210\u7684\u4ee3\u7801\u5f80\u5f80\u8d8a\u5197\u957f\u3001\u63a7\u5236\u6d41\u8d8a\u590d\u6742\u3002\u6570\u636e\u663e\u793a&#xff0c;GPT-5-minimal \u5728\u89e3\u51b3\u540c\u4e00\u7ec4 Java \u7f16\u7a0b\u4efb\u52a1\u65f6&#xff0c;\u751f\u6210\u7684\u4ee3\u7801\u91cf\u63a5\u8fd1 OpenCoder-8B \u7684\u56db\u500d&#xff0c;\u5708\u590d\u6742\u5ea6\u6307\u6807\u4ece 18,850 \u98d9\u5347\u5230 145,099\u3002<\/p>\n<p>\u8fd9\u4e2a\u6570\u636e\u5728 Spring Boot &#043; Vue3 \u7684\u4e0a\u4e0b\u6587\u4e2d\u610f\u5473\u7740\u4ec0\u4e48&#xff1f;\u610f\u5473\u7740 AI \u4e3a\u4e86\u201c\u786e\u4fdd\u529f\u80fd\u6b63\u786e\u201d&#xff0c;\u503e\u5411\u4e8e\u5199\u51fa\u5927\u91cf\u9632\u5fa1\u6027\u5206\u652f\u3001\u5197\u4f59\u7684\u4e2d\u95f4\u53d8\u91cf\u548c\u8fc7\u5ea6\u5c01\u88c5\u7684\u65b9\u6cd5\u3002\u4e00\u6bb5\u672c\u53ef\u4ee5\u7528\u4e8c\u5341\u884c\u6e05\u6670\u903b\u8f91\u5b9e\u73b0\u7684 Service \u65b9\u6cd5&#xff0c;AI \u53ef\u80fd\u4f1a\u751f\u6210\u516b\u5341\u884c\u5305\u542b\u591a\u5c42\u5d4c\u5957\u5224\u65ad\u7684\u4ee3\u7801\u3002\u8fd9\u4e9b\u4ee3\u7801\u5728\u529f\u80fd\u6d4b\u8bd5\u4e2d\u53ef\u80fd\u5168\u90e8\u901a\u8fc7&#xff0c;\u4f46\u5b83\u4eec\u663e\u8457\u589e\u52a0\u4e86\u540e\u7eed\u7ef4\u62a4\u7684\u6210\u672c\u2014\u2014\u5f53\u4e1a\u52a1\u89c4\u5219\u53d8\u66f4\u65f6&#xff0c;\u5de5\u7a0b\u5e08\u9700\u8981\u82b1\u66f4\u591a\u65f6\u95f4\u7406\u89e3 AI \u7559\u4e0b\u7684\u201c\u9632\u5fa1\u6027\u8ff7\u5bab\u201d\u3002<\/p>\n<h4>2.2 \u6d4b\u8bd5\u901a\u8fc7\u4e0d\u7b49\u4e8e\u6b63\u786e&#xff1a;AI \u7f16\u7801\u4e2d\u7684\u201c\u5c5e\u6027\u9057\u6f0f\u201d\u95ee\u9898<\/h4>\n<p>\u5728\u6211\u4eec\u7684\u4f9b\u5e94\u94fe\u9879\u76ee\u4e2d&#xff0c;\u6709\u4e00\u4e2a\u6848\u4f8b\u81f3\u4eca\u88ab\u56e2\u961f\u5f53\u4f5c\u8b66\u793a\u3002\u9700\u6c42\u662f\u201c\u8ba1\u7b97\u6700\u4f18\u914d\u9001\u8def\u7ebf\u201d&#xff0c;AI \u751f\u6210\u4e86\u57fa\u4e8e\u8d2a\u5fc3\u7b56\u7565\u7684\u8fd1\u4f3c\u7b97\u6cd5&#xff0c;\u5e76\u5728\u8fb9\u754c\u6d4b\u8bd5\u4e2d\u5168\u90e8\u901a\u8fc7\u3002\u95ee\u9898\u5728\u4e8e&#xff1a;\u9a8c\u6536\u6807\u51c6\u53ea\u5b9a\u4e49\u4e86\u201c\u603b\u8ddd\u79bb\u4e0d\u8d85\u8fc7\u9608\u503c\u201d&#xff0c;\u5374\u6ca1\u6709\u660e\u786e\u201c\u5fc5\u987b\u8fd4\u56de\u5177\u4f53\u8def\u7ebf\u5e8f\u5217\u201d\u3002AI \u7684\u5b9e\u73b0\u53ea\u8f93\u51fa\u4e86\u603b\u8ddd\u79bb\u6570\u503c&#xff0c;\u5f53\u4e0a\u6e38\u7cfb\u7edf\u9700\u8981\u6839\u636e\u8def\u7ebf\u5e8f\u5217\u505a\u53ef\u89c6\u5316\u5c55\u793a\u65f6&#xff0c;\u6574\u4e2a\u6a21\u5757\u65e0\u6cd5\u5bf9\u63a5\u3002<\/p>\n<p>\u8fd9\u4e2a\u95ee\u9898\u7684\u6839\u6e90\u4e0d\u5728 AI \u7684\u7f16\u7801\u80fd\u529b&#xff0c;\u800c\u5728\u4e8e\u9700\u6c42\u89c4\u683c\u7684\u9897\u7c92\u5ea6\u3002\u4eba\u7c7b\u5de5\u7a0b\u5e08\u5728\u5b9e\u73b0\u65f6\u4f1a\u57fa\u4e8e\u7ecf\u9a8c\u201c\u8865\u5168\u201d\u90a3\u4e9b\u672a\u88ab\u663e\u5f0f\u8bf4\u660e\u7684\u9690\u542b\u9700\u6c42\u2014\u2014\u6bd4\u5982\u201c\u8def\u7ebf\u8ba1\u7b97\u5f53\u7136\u5e94\u8be5\u8fd4\u56de\u8def\u7ebf\u672c\u8eab\u201d\u3002\u4f46 AI \u4e25\u683c\u5730\u5728\u7ed9\u5b9a\u7ea6\u675f\u5185\u4f5c\u4e1a&#xff0c;\u5b83\u4e0d\u4f1a\u8ffd\u95ee\u201c\u4f60\u9700\u8981\u7684\u662f\u8ddd\u79bb\u503c\u8fd8\u662f\u5b8c\u6574\u8def\u5f84\u201d\u3002\u8fd9\u610f\u5473\u7740&#xff0c;\u5f53\u4f7f\u7528 AI \u8fdb\u884c\u5168\u6808\u5f00\u53d1\u65f6&#xff0c;\u5de5\u7a0b\u5e08\u5fc5\u987b\u628a\u9700\u6c42\u62c6\u89e3\u5230\u6bd4\u4f20\u7edf\u5f00\u53d1\u66f4\u7ec6\u7684\u7c92\u5ea6&#xff0c;\u5c24\u5176\u662f\u90a3\u4e9b\u201c\u7406\u6240\u5f53\u7136\u201d\u7684\u90e8\u5206\u3002<\/p>\n<h4>2.3 \u524d\u540e\u7aef\u5951\u7ea6\u7684\u9690\u6027\u6f02\u79fb<\/h4>\n<p>\u5728\u524d\u540e\u7aef\u5206\u79bb\u67b6\u6784\u4e2d&#xff0c;\u63a5\u53e3\u5951\u7ea6\u7684\u7a33\u5b9a\u6027\u662f\u7cfb\u7edf\u53ef\u7ef4\u62a4\u6027\u7684\u57fa\u7840\u3002AI \u5728\u8fd9\u91cc\u5f15\u5165\u4e86\u4e00\u4e2a\u9690\u853d\u7684\u98ce\u9669&#xff1a;\u5f53\u4f60\u5206\u522b\u7528 AI \u751f\u6210\u540e\u7aef\u7684 DTO \u548c\u524d\u7aef\u7684 TypeScript \u63a5\u53e3\u5b9a\u4e49\u65f6&#xff0c;\u4e24\u8005\u4e4b\u95f4\u7684\u5b57\u6bb5\u547d\u540d\u3001\u7c7b\u578b\u7ea6\u675f\u3001\u7a7a\u503c\u8bed\u4e49\u53ef\u80fd\u5728\u4e0d\u7ecf\u610f\u95f4\u4ea7\u751f\u504f\u5dee\u3002<\/p>\n<p><span class=\"token comment\">\/\/ \u540e\u7aef DTO&#xff1a;AI \u6839\u636e\u6570\u636e\u5e93\u5b57\u6bb5\u76f4\u63a5\u6620\u5c04<\/span><br \/>\n<span class=\"token keyword\">public<\/span> <span class=\"token keyword\">class<\/span> <span class=\"token class-name\">OrderDTO<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">private<\/span> <span class=\"token class-name\">Long<\/span> id<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">private<\/span> <span class=\"token class-name\">String<\/span> orderNo<span class=\"token punctuation\">;<\/span>      <span class=\"token comment\">\/\/ \u6570\u636e\u5e93\u5217\u540d<\/span><br \/>\n    <span class=\"token keyword\">private<\/span> <span class=\"token class-name\">Integer<\/span> statusCode<span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u6570\u5b57\u72b6\u6001\u7801<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u524d\u7aef\u63a5\u53e3&#xff1a;AI \u6839\u636e\u201c\u66f4\u597d\u7684\u547d\u540d\u4e60\u60ef\u201d\u751f\u6210<\/span><br \/>\n<span class=\"token keyword\">interface<\/span> <span class=\"token class-name\">Order<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  id<span class=\"token operator\">:<\/span> <span class=\"token builtin\">number<\/span><br \/>\n  orderNumber<span class=\"token operator\">:<\/span> <span class=\"token builtin\">string<\/span>   <span class=\"token comment\">\/\/ \u547d\u540d\u5df2\u6f02\u79fb<\/span><br \/>\n  status<span class=\"token operator\">:<\/span> <span class=\"token string\">&#039;PENDING&#039;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token string\">&#039;SHIPPED&#039;<\/span>  <span class=\"token comment\">\/\/ \u7c7b\u578b\u8bed\u4e49\u5df2\u6539\u53d8<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u8fd9\u79cd\u6f02\u79fb\u5728\u8054\u8c03\u524d\u5f80\u5f80\u4e0d\u4f1a\u88ab\u53d1\u73b0&#xff0c;\u56e0\u4e3a\u524d\u540e\u7aef\u4ee3\u7801\u5404\u81ea\u201c\u770b\u8d77\u6765\u201d\u90fd\u662f\u5bf9\u7684\u3002\u76f4\u5230\u96c6\u6210\u6d4b\u8bd5\u65f6&#xff0c;\u524d\u7aef\u62ff\u4e0d\u5230 orderNumber&#xff0c;\u540e\u7aef\u8fd4\u56de\u7684 statusCode \u65e0\u6cd5\u5339\u914d\u524d\u7aef\u671f\u671b\u7684\u5b57\u7b26\u4e32\u679a\u4e3e\u3002\u4fee\u590d\u8fd9\u7c7b\u95ee\u9898\u7684\u65f6\u95f4&#xff0c;\u5f80\u5f80\u6bd4\u624b\u5199\u4ee3\u7801\u65f6\u591a\u51fa\u6570\u500d\u2014\u2014\u56e0\u4e3a\u4f60\u9700\u8981\u5148\u5b9a\u4f4d\u4e24\u4e2a AI \u751f\u6210\u4f53\u4e4b\u95f4\u7684\u201c\u7406\u89e3\u504f\u5dee\u201d\u5728\u54ea\u91cc\u3002<\/p>\n<h3>\u4e09\u3001\u5168\u6808\u5de5\u7a0b\u5e08\u7684\u4ef7\u503c\u8f6c\u79fb&#xff1a;\u4ece\u201c\u5199\u4ee3\u7801\u201d\u5230\u201c\u5b9a\u4e49\u8fb9\u754c\u201d<\/h3>\n<h4>3.1 \u9700\u6c42\u62c6\u89e3\u4e0e\u89c4\u683c\u5b9a\u4e49\u7684\u80fd\u529b\u6ea2\u4ef7<\/h4>\n<p>\u5f53\u524d AI \u7f16\u7801\u5de5\u5177\u7684\u6838\u5fc3\u5c40\u9650\u5728\u4e8e&#xff1a;\u5b83\u65e0\u6cd5\u5728\u6a21\u7cca\u7684\u9700\u6c42\u7a7a\u95f4\u4e2d\u81ea\u884c\u6536\u655b\u51fa\u4e00\u4e2a\u6b63\u786e\u7684\u6280\u672f\u65b9\u6848\u3002Carnegie Mellon \u8f6f\u4ef6\u5de5\u7a0b\u7814\u7a76\u6240\u7684 James Ivers \u63d0\u51fa\u7684\u533a\u5206\u5f88\u6709\u53c2\u8003\u4ef7\u503c&#xff1a;\u6240\u8c13\u201c\u7f16\u7801\u8005\u201d\u662f\u5728\u4ed6\u4eba\u5b9a\u4e49\u7684\u8fb9\u754c\u5185\u5de5\u4f5c\u7684&#xff0c;\u800c\u201c\u8f6f\u4ef6\u5de5\u7a0b\u5e08\u201d\u662f\u5728\u6a21\u7cca\u7a7a\u95f4\u4e2d\u4e3b\u52a8\u53d1\u73b0\u548c\u521b\u9020\u90a3\u4e9b\u8fb9\u754c\u7684\u4eba\u3002AI \u53ef\u4ee5\u9ad8\u6548\u5730\u66ff\u4ee3\u524d\u8005&#xff0c;\u4f46\u5bf9\u540e\u8005\u7684\u80fd\u529b\u9700\u6c42\u53cd\u800c\u5728\u589e\u52a0\u3002<\/p>\n<p>\u5728\u5168\u6808\u573a\u666f\u4e0b&#xff0c;\u8fd9\u610f\u5473\u7740\u5de5\u7a0b\u5e08\u9700\u8981\u5177\u5907\u4e00\u79cd\u201c\u5168\u94fe\u8def\u89c4\u683c\u601d\u7ef4\u201d&#xff1a;\u5728\u52a8\u624b\u5199\u4efb\u4f55\u4ee3\u7801\u4e4b\u524d&#xff0c;\u5148\u628a\u7528\u6237\u6545\u4e8b\u62c6\u89e3\u6210\u524d\u540e\u7aef\u5404\u81ea\u627f\u62c5\u7684\u8d23\u4efb\u8fb9\u754c\u3001\u63a5\u53e3\u7684\u6570\u636e\u5951\u7ea6\u3001\u5f02\u5e38\u573a\u666f\u7684\u7edf\u4e00\u5904\u7406\u7b56\u7565\u3001\u4ee5\u53ca\u6027\u80fd\u4e0e\u5b89\u5168\u7684\u6700\u4f4e\u57fa\u7ebf\u3002\u8fd9\u4e9b\u5de5\u4f5c\u505a\u5f97\u8d8a\u624e\u5b9e&#xff0c;AI \u751f\u6210\u7684\u4ee3\u7801\u5c31\u8d8a\u63a5\u8fd1\u201c\u53ef\u76f4\u63a5\u4f7f\u7528\u201d&#xff1b;\u505a\u5f97\u8d8a\u6a21\u7cca&#xff0c;\u540e\u671f\u4fee\u590d\u7684\u4ee3\u4ef7\u5c31\u8d8a\u9ad8\u3002<\/p>\n<h4>3.2 \u67b6\u6784\u5b88\u62a4\u8005&#xff1a;\u9632\u6b62 AI \u628a\u7cfb\u7edf\u5e26\u5411\u201c\u6280\u672f\u503a\u52a0\u901f\u7d2f\u79ef\u201d<\/h4>\n<p>\u524d\u9762\u63d0\u5230\u7684\u4ee3\u7801\u590d\u6742\u5ea6\u81a8\u80c0\u5e76\u975e\u7406\u8bba\u62c5\u5fe7\u3002\u4e00\u9879\u9488\u5bf9 AI \u8f85\u52a9\u5f00\u53d1\u7684\u7814\u7a76\u53d1\u73b0&#xff0c;\u5728\u5bc6\u96c6\u4f7f\u7528\u81ea\u4e3b\u7f16\u7801\u4ee3\u7406\u7684\u4ee3\u7801\u5e93\u4e2d&#xff0c;\u8ba4\u77e5\u590d\u6742\u5ea6\u589e\u52a0\u4e86 39%&#xff0c;\u6280\u672f\u503a\u6307\u6807\u4e0a\u5347\u4e86 30% \u5230 41%\u3002\u66f4\u4ee4\u4eba\u8b66\u60d5\u7684\u662f&#xff0c;\u91c7\u7528 AI \u5de5\u5177\u521d\u671f\u7684\u201c\u901f\u5ea6\u7ea2\u5229\u201d\u4f1a\u5728\u51e0\u4e2a\u6708\u5185\u5b8c\u5168\u6d88\u5931&#xff0c;\u53d6\u800c\u4ee3\u4e4b\u7684\u662f\u53d8\u66f4\u5931\u8d25\u7387\u4e0a\u5347 30% \u548c\u751f\u4ea7\u4e8b\u6545\u589e\u52a0 23.5%\u3002<\/p>\n<p>\u8fd9\u4e9b\u6570\u5b57\u80cc\u540e\u7684\u673a\u5236\u5e76\u4e0d\u795e\u79d8\u3002AI \u6bcf\u6b21\u751f\u6210\u4ee3\u7801\u65f6&#xff0c;\u90fd\u5728\u505a\u4e00\u4e2a\u5c40\u90e8\u6700\u4f18\u51b3\u7b56&#xff1a;\u8ba9\u5f53\u524d\u8fd9\u4e2a\u51fd\u6570\u3001\u8fd9\u4e2a\u7ec4\u4ef6\u201c\u8dd1\u901a\u201d\u3002\u4f46\u7cfb\u7edf\u7ea7\u7684\u67b6\u6784\u4e00\u81f4\u6027\u2014\u2014\u6a21\u5757\u8fb9\u754c\u662f\u5426\u6e05\u6670\u3001\u4f9d\u8d56\u65b9\u5411\u662f\u5426\u6b63\u786e\u3001\u62bd\u8c61\u5c42\u6b21\u662f\u5426\u7edf\u4e00\u2014\u2014\u4e0d\u5728 AI \u7684\u89c6\u91ce\u8303\u56f4\u5185\u3002\u5982\u679c\u5de5\u7a0b\u5e08\u653e\u5f03\u4e86\u67b6\u6784\u5b88\u62a4\u7684\u804c\u8d23&#xff0c;\u7cfb\u7edf\u4f1a\u5728\u51e0\u5341\u6b21 AI \u751f\u6210\u5faa\u73af\u4e4b\u540e\u53d8\u5f97\u9762\u76ee\u5168\u975e\u3002\u5728 Spring Boot \u9879\u76ee\u4e2d&#xff0c;\u8fd9\u79cd\u9000\u5316\u53ef\u80fd\u8868\u73b0\u4e3a Service \u5c42\u9010\u6e10\u81a8\u80c0\u4e3a\u201c\u4e0a\u5e1d\u7c7b\u201d&#xff1b;\u5728 Vue3 \u9879\u76ee\u4e2d&#xff0c;\u5219\u53ef\u80fd\u662f\u7ec4\u4ef6\u95f4\u901a\u4fe1\u65b9\u5f0f\u4ece props\/emit \u9000\u5316\u4e3a\u65e0\u9650\u5236\u7684\u5168\u5c40\u4e8b\u4ef6\u603b\u7ebf\u3002<\/p>\n<h4>3.3 \u8d28\u91cf\u95e8\u7981\u7684\u8bbe\u8ba1\u8005\u4e0e\u6267\u884c\u8005<\/h4>\n<p>\u5f53 AI \u53ef\u4ee5\u5feb\u901f\u751f\u6210\u5927\u91cf\u4ee3\u7801\u65f6&#xff0c;\u201c\u5ba1\u67e5\u4ee3\u7801\u201d\u7684\u5de5\u4f5c\u91cf\u548c\u96be\u5ea6\u90fd\u5728\u6025\u5267\u4e0a\u5347\u3002\u4f20\u7edf\u7684 Code Review \u4f9d\u8d56\u4eba\u7c7b reviewer \u7684\u6ce8\u610f\u529b&#xff0c;\u800c AI \u751f\u6210\u7684\u4ee3\u7801\u95ee\u9898\u5f80\u5f80\u66f4\u52a0\u9690\u853d\u2014\u2014\u683c\u5f0f\u89c4\u8303\u3001\u6ce8\u91ca\u9f50\u5168\u3001\u547d\u540d\u5408\u7406&#xff0c;\u4f46\u903b\u8f91\u8fb9\u754c\u6216\u67b6\u6784\u4e00\u81f4\u6027\u5b58\u5728\u7f3a\u9677\u3002<\/p>\n<p>\u8fd9\u610f\u5473\u7740\u5168\u6808\u5de5\u7a0b\u5e08\u9700\u8981\u4ece\u201c\u4ee3\u7801\u5ba1\u67e5\u8005\u201d\u5347\u7ea7\u4e3a\u201c\u8d28\u91cf\u95e8\u7981\u8bbe\u8ba1\u8005\u201d\u3002\u8fd9\u5305\u62ec&#xff1a;\u5728 CI \u6d41\u6c34\u7ebf\u4e2d\u5b9a\u4e49\u54ea\u4e9b\u68c0\u67e5\u5fc5\u987b\u901a\u8fc7&#xff08;\u7c7b\u578b\u68c0\u67e5\u3001\u63a5\u53e3\u5951\u7ea6\u6d4b\u8bd5\u3001\u590d\u6742\u5ea6\u9608\u503c&#xff09;&#xff0c;\u5728\u4ee3\u7801\u5c42\u9762\u9884\u7559\u53ef\u89c2\u6d4b\u6027\u57cb\u70b9\u4ee5\u4fbf\u5feb\u901f\u5b9a\u4f4d AI \u751f\u6210\u903b\u8f91\u4e2d\u7684\u8fd0\u884c\u65f6\u95ee\u9898&#xff0c;\u4ee5\u53ca\u5efa\u7acb\u201cAI \u751f\u6210\u4ee3\u7801\u7684\u5408\u5e76\u6807\u51c6\u201d\u2014\u2014\u4ec0\u4e48\u6837\u7684\u4ee3\u7801\u53ef\u4ee5\u76f4\u63a5\u5408\u5e76&#xff0c;\u4ec0\u4e48\u6837\u7684\u9700\u8981\u4eba\u5de5\u91cd\u5199\u6216\u6df1\u5ea6\u4fee\u6539\u3002<\/p>\n<h3>\u56db\u3001\u843d\u5730\u5b9e\u8df5&#xff1a;\u5728 Spring Boot &#043; Vue3 \u9879\u76ee\u4e2d\u4e0e AI \u9ad8\u6548\u534f\u4f5c<\/h3>\n<h4>4.1 \u7528\u201c\u5951\u7ea6\u5148\u884c\u201d\u7ea6\u675f\u524d\u540e\u7aef AI \u751f\u6210<\/h4>\n<p>\u9488\u5bf9\u524d\u9762\u63d0\u5230\u7684\u5951\u7ea6\u6f02\u79fb\u95ee\u9898&#xff0c;\u6211\u4eec\u7684\u56e2\u961f\u91c7\u7528\u4e86\u4e00\u4e2a\u7b80\u5355\u4f46\u6709\u6548\u7684\u6d41\u7a0b\u8c03\u6574&#xff1a;\u5728\u4efb\u4f55 AI \u751f\u6210\u4ee3\u7801\u4e4b\u524d&#xff0c;\u5148\u7531\u4eba\u7c7b\u5de5\u7a0b\u5e08\u8f93\u51fa\u4e00\u4efd\u63a5\u53e3\u5951\u7ea6\u6587\u6863\u2014\u2014\u53ef\u4ee5\u662f\u4e00\u4e2a\u7b80\u5355\u7684 Markdown \u8868\u683c&#xff0c;\u660e\u786e\u6bcf\u4e2a\u5b57\u6bb5\u7684\u540d\u79f0\u3001\u7c7b\u578b\u3001\u7ea6\u675f\u548c\u8bed\u4e49\u3002\u8fd9\u4efd\u5951\u7ea6\u540c\u65f6\u4f5c\u4e3a\u540e\u7aef DTO \u751f\u6210\u548c\u524d\u7aef Interface \u751f\u6210\u7684\u552f\u4e00\u8f93\u5165\u3002<\/p>\n<p><span class=\"token comment\">\/\/ \u5951\u7ea6\u5148\u884c&#xff1a;\u5148\u5b9a\u4e49\u3001\u540e\u751f\u6210\u7684\u63a5\u53e3<\/span><br \/>\n<span class=\"token comment\">\/\/ \u5b57\u6bb5\u547d\u540d\u5fc5\u987b\u4e0e\u540e\u7aef DTO \u5b8c\u5168\u4e00\u81f4<\/span><br \/>\n<span class=\"token keyword\">interface<\/span> <span class=\"token class-name\">OrderDetail<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  id<span class=\"token operator\">:<\/span> <span class=\"token builtin\">number<\/span>                    <span class=\"token comment\">\/\/ \u8ba2\u5355 ID<\/span><br \/>\n  order_no<span class=\"token operator\">:<\/span> <span class=\"token builtin\">string<\/span>              <span class=\"token comment\">\/\/ \u8ba2\u5355\u7f16\u53f7&#xff0c;\u540e\u7aef snake_case<\/span><br \/>\n  status<span class=\"token operator\">:<\/span> <span class=\"token string\">&#039;pending&#039;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token string\">&#039;shipped&#039;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token string\">&#039;completed&#039;<\/span>  <span class=\"token comment\">\/\/ \u72b6\u6001\u679a\u4e3e<\/span><br \/>\n  created_at<span class=\"token operator\">:<\/span> <span class=\"token builtin\">string<\/span>            <span class=\"token comment\">\/\/ ISO 8601 \u683c\u5f0f<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u8fd9\u4e2a\u770b\u4f3c\u201c\u591a\u6b64\u4e00\u4e3e\u201d\u7684\u6b65\u9aa4&#xff0c;\u5b9e\u9645\u4e0a\u628a AI \u7684\u751f\u6210\u8d28\u91cf\u63d0\u5347\u4e86\u4e00\u4e2a\u5c42\u7ea7\u3002\u56e0\u4e3a AI \u4e0d\u518d\u9700\u8981\u201c\u731c\u6d4b\u201d\u5b57\u6bb5\u6620\u5c04\u5173\u7cfb&#xff0c;\u5b83\u53ea\u9700\u8981\u5fe0\u5b9e\u6267\u884c\u5951\u7ea6\u3002\u540e\u7eed\u7684\u8054\u8c03\u65f6\u95f4\u88ab\u538b\u7f29\u4e86\u81f3\u5c11\u4e09\u5206\u4e4b\u4e00\u3002<\/p>\n<h4>4.2 \u540e\u7aef&#xff1a;\u8ba9 AI \u5904\u7406\u201c\u6a21\u5f0f\u5316\u201d\u90e8\u5206&#xff0c;\u4eba\u5de5\u5b88\u4f4f\u201c\u5224\u65ad\u6027\u201d\u90e8\u5206<\/h4>\n<p>\u5728 Spring Boot \u540e\u7aef\u5f00\u53d1\u4e2d&#xff0c;\u6211\u4eec\u9010\u6e10\u5f62\u6210\u4e86\u4e00\u6761\u6e05\u6670\u7684\u5206\u5de5\u7ebf\u3002\u4ea4\u7ed9 AI \u7684&#xff1a;\u5b9e\u4f53\u7c7b\u751f\u6210\u3001\u57fa\u7840 CRUD \u7684 Controller\/Service\/Mapper \u4e09\u5c42\u4ee3\u7801\u3001\u5355\u5143\u6d4b\u8bd5\u7684\u9aa8\u67b6\u3001Swagger \u6ce8\u89e3\u8865\u5168\u3002\u8fd9\u4e9b\u5de5\u4f5c\u7684\u5171\u540c\u7279\u5f81\u662f\u201c\u6a21\u5f0f\u9ad8\u5ea6\u56fa\u5b9a&#xff0c;\u5224\u65ad\u7a7a\u95f4\u5c0f\u201d\u3002<\/p>\n<p>\u4e0d\u4ea4\u7ed9 AI \u76f4\u63a5\u5b9a\u7a3f\u7684&#xff1a;\u4e8b\u52a1\u8fb9\u754c\u7684\u786e\u5b9a\u3001\u5e76\u53d1\u5b89\u5168\u76f8\u5173\u7684\u903b\u8f91\u3001\u6743\u9650\u6821\u9a8c\u7b56\u7565\u3001\u6d89\u53ca\u591a\u8868\u805a\u5408\u7684\u590d\u6742\u67e5\u8be2\u4f18\u5316\u3002\u8fd9\u4e9b\u573a\u666f\u8981\u4e48\u9700\u8981\u7ed3\u5408\u5177\u4f53\u7684\u6570\u636e\u5e93\u7279\u6027\u548c\u4e1a\u52a1\u7ea6\u675f\u505a\u6743\u8861&#xff0c;\u8981\u4e48\u51fa\u9519\u540e\u7684\u4fee\u590d\u6210\u672c\u6781\u9ad8\u3002\u5bf9\u4e8e\u8fd9\u7c7b\u4ee3\u7801&#xff0c;AI \u53ef\u4ee5\u4f5c\u4e3a\u201c\u5efa\u8bae\u8005\u201d\u2014\u2014\u8ba9\u5b83\u63d0\u4f9b\u4e24\u4e09\u4e2a\u5b9e\u73b0\u601d\u8def\u4f5c\u4e3a\u53c2\u8003&#xff0c;\u4f46\u6700\u7ec8\u7684\u65b9\u6848\u9009\u62e9\u548c\u4ee3\u7801\u5b9a\u7a3f\u7531\u5de5\u7a0b\u5e08\u5b8c\u6210\u3002<\/p>\n<p><span class=\"token comment\">\/\/ \u5e76\u53d1\u6263\u51cf\u5e93\u5b58&#xff1a;AI \u751f\u6210\u7684\u7248\u672c\u9700\u8981\u4eba\u5de5\u6ce8\u5165\u6b63\u786e\u7684\u9501\u7b56\u7565<\/span><br \/>\n<span class=\"token comment\">\/\/ \u4eba\u5de5\u4fee\u6539\u70b9&#xff1a;\u660e\u786e\u4f7f\u7528\u6570\u636e\u5e93\u4e50\u89c2\u9501\u800c\u975e AI \u9ed8\u8ba4\u7684 synchronized<\/span><br \/>\n<span class=\"token annotation punctuation\">&#064;Transactional<\/span><br \/>\n<span class=\"token keyword\">public<\/span> <span class=\"token keyword\">void<\/span> <span class=\"token function\">deductStock<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">Long<\/span> skuId<span class=\"token punctuation\">,<\/span> <span class=\"token class-name\">Integer<\/span> quantity<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token comment\">\/\/ AI \u539f\u59cb\u7248\u672c\u4f7f\u7528 synchronized(this)&#xff0c;\u5728\u5206\u5e03\u5f0f\u573a\u666f\u4e0b\u65e0\u6548<\/span><br \/>\n    <span class=\"token comment\">\/\/ \u4eba\u5de5\u66ff\u6362\u4e3a\u57fa\u4e8e\u7248\u672c\u53f7\u7684\u4e50\u89c2\u9501\u91cd\u8bd5<\/span><br \/>\n    <span class=\"token keyword\">int<\/span> retry <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">3<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">while<\/span> <span class=\"token punctuation\">(<\/span>retry<span class=\"token operator\">&#8212;<\/span> <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token class-name\">SkuStock<\/span> stock <span class=\"token operator\">&#061;<\/span> stockMapper<span class=\"token punctuation\">.<\/span><span class=\"token function\">selectById<\/span><span class=\"token punctuation\">(<\/span>skuId<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span>stock<span class=\"token punctuation\">.<\/span><span class=\"token function\">getAvailable<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&lt;<\/span> quantity<span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">throw<\/span> <span class=\"token keyword\">new<\/span> <span class=\"token class-name\">BizException<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u5e93\u5b58\u4e0d\u8db3&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span>stockMapper<span class=\"token punctuation\">.<\/span><span class=\"token function\">deductWithVersion<\/span><span class=\"token punctuation\">(<\/span>skuId<span class=\"token punctuation\">,<\/span> quantity<span class=\"token punctuation\">,<\/span> stock<span class=\"token punctuation\">.<\/span><span class=\"token function\">getVersion<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n            <span class=\"token keyword\">return<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token keyword\">throw<\/span> <span class=\"token keyword\">new<\/span> <span class=\"token class-name\">BizException<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u6263\u51cf\u5931\u8d25&#xff0c;\u8bf7\u91cd\u8bd5&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h4>4.3 \u524d\u7aef&#xff1a;\u628a\u201c\u7ec4\u4ef6\u751f\u6210\u201d\u5347\u7ea7\u4e3a\u201c\u67b6\u6784\u7ea6\u675f\u4e0b\u7684\u7ec4\u4ef6\u751f\u6210\u201d<\/h4>\n<p>Vue3 \u9879\u76ee\u4e2d&#xff0c;AI \u7684\u7ec4\u4ef6\u751f\u6210\u80fd\u529b\u5f88\u5f3a&#xff0c;\u4f46\u9700\u8981\u7ed9\u5b83\u8bbe\u5b9a\u67b6\u6784\u7ea6\u675f\u3002\u6211\u4eec\u7684\u505a\u6cd5\u662f\u5728\u9879\u76ee\u6839\u76ee\u5f55\u7ef4\u62a4\u4e00\u4efd CLAUDE.md \u6216\u7c7b\u4f3c\u7684\u4e0a\u4e0b\u6587\u6587\u4ef6&#xff0c;\u5199\u660e&#xff1a;\u72b6\u6001\u7ba1\u7406\u7684\u5206\u5c42\u89c4\u5219&#xff08;\u54ea\u4e9b\u72b6\u6001\u653e Pinia\u3001\u54ea\u4e9b\u653e\u7ec4\u4ef6\u672c\u5730&#xff09;\u3001API \u8c03\u7528\u7684\u7edf\u4e00\u5c01\u88c5\u89c4\u8303\u3001\u4ee5\u53ca\u7ec4\u4ef6\u547d\u540d\u548c\u76ee\u5f55\u7ed3\u6784\u7684\u7ea6\u5b9a\u3002\u5f53 AI \u5728\u751f\u6210\u4ee3\u7801\u65f6\u80fd\u8bfb\u53d6\u5230\u8fd9\u4e9b\u7ea6\u675f&#xff0c;\u5b83\u4ea7\u51fa\u7684\u7ec4\u4ef6\u4e0e\u9879\u76ee\u73b0\u6709\u67b6\u6784\u7684\u5339\u914d\u5ea6\u4f1a\u663e\u8457\u63d0\u5347\u3002<\/p>\n<p>\u53e6\u4e00\u4e2a\u6709\u6548\u7684\u5b9e\u8df5\u662f\u201c\u53c2\u8003\u5b9e\u73b0\u6a21\u5f0f\u201d\u3002\u4e0e\u5176\u8ba9 AI \u4ece\u96f6\u751f\u6210\u4e00\u4e2a\u65b0\u9875\u9762&#xff0c;\u4e0d\u5982\u5148\u6307\u5b9a\u4e00\u4e2a\u9879\u76ee\u4e2d\u5df2\u6709\u7684\u3001\u8d28\u91cf\u8f83\u9ad8\u7684\u9875\u9762\u4f5c\u4e3a\u53c2\u8003\u6a21\u677f\u3002AI \u4f1a\u6a21\u4eff\u8be5\u9875\u9762\u7684\u7ed3\u6784\u3001\u72b6\u6001\u7ba1\u7406\u6a21\u5f0f\u548c\u9519\u8bef\u5904\u7406\u65b9\u5f0f&#xff0c;\u4ece\u800c\u4fdd\u8bc1\u65b0\u4ee3\u7801\u4e0e\u5b58\u91cf\u4ee3\u7801\u7684\u98ce\u683c\u4e00\u81f4\u3002<\/p>\n<h3>\u4e94\u3001\u907f\u5751\u603b\u7ed3<\/h3>\n<p>\u56de\u987e\u8fd9\u534a\u5e74\u5728 AI \u8f85\u52a9\u5168\u6808\u5f00\u53d1\u4e2d\u7684\u5b9e\u8df5&#xff0c;\u4ee5\u4e0b\u51e0\u4e2a\u5751\u662f\u56e2\u961f\u53cd\u590d\u8e29\u8fc7\u3001\u4e5f\u53cd\u590d\u4fee\u6b63\u7684\u3002<\/p>\n<p>\u7b2c\u4e00&#xff0c;\u4e0d\u8981\u8ba9 AI \u5728\u6ca1\u6709\u5951\u7ea6\u7684\u60c5\u51b5\u4e0b\u540c\u65f6\u751f\u6210\u524d\u540e\u7aef\u4ee3\u7801\u3002 \u8fd9\u662f\u5bfc\u81f4\u8054\u8c03\u5931\u8d25\u7684\u5934\u53f7\u539f\u56e0\u3002\u5951\u7ea6\u6f02\u79fb\u7684\u4fee\u590d\u6210\u672c\u8fdc\u9ad8\u4e8e\u5951\u7ea6\u5148\u884c\u7684\u7f16\u5199\u6210\u672c\u3002<\/p>\n<p>\u7b2c\u4e8c&#xff0c;AI \u751f\u6210\u7684\u201c\u6d4b\u8bd5\u901a\u8fc7\u201d\u4e0d\u7b49\u4e8e\u201c\u529f\u80fd\u6b63\u786e\u201d\u3002 \u5fc5\u987b\u5efa\u7acb\u591a\u7ef4\u5ea6\u9a8c\u6536\u6807\u51c6&#xff0c;\u5c24\u5176\u662f\u90a3\u4e9b\u4e1a\u52a1\u8bed\u4e49\u5c42\u9762\u7684\u5c5e\u6027\u2014\u2014AI \u53ea\u68c0\u67e5\u4f60\u663e\u5f0f\u58f0\u660e\u7684\u6761\u4ef6\u3002<\/p>\n<p>\u7b2c\u4e09&#xff0c;\u5b9a\u671f\u5ba1\u67e5 AI \u751f\u6210\u4ee3\u7801\u7684\u590d\u6742\u5ea6\u6307\u6807\u3002 \u5982\u679c\u67d0\u4e2a\u6a21\u5757\u7684\u5708\u590d\u6742\u5ea6\u5728\u51e0\u6b21 AI \u8fed\u4ee3\u540e\u51fa\u73b0\u8df3\u5347&#xff0c;\u8fd9\u662f\u6280\u672f\u503a\u7d2f\u79ef\u7684\u65e9\u671f\u4fe1\u53f7&#xff0c;\u9700\u8981\u4eba\u5de5\u4ecb\u5165\u91cd\u6784\u3002<\/p>\n<p>\u7b2c\u56db&#xff0c;\u5168\u6808\u5de5\u7a0b\u5e08\u7684\u201c\u5168\u6808\u201d\u542b\u4e49\u6b63\u5728\u4ece\u201c\u524d\u540e\u7aef\u90fd\u80fd\u5199\u201d\u8f6c\u5411\u201c\u524d\u540e\u7aef\u90fd\u80fd\u5b9a\u4e49\u8fb9\u754c\u201d\u3002 \u5199\u4ee3\u7801\u8fd9\u4ef6\u4e8b\u672c\u8eab\u5728\u88ab\u5feb\u901f\u5546\u54c1\u5316&#xff0c;\u4f46\u5224\u65ad\u201c\u4ec0\u4e48\u8be5\u5199\u3001\u5199\u6210\u4ec0\u4e48\u6837\u3001\u5199\u5230\u4ec0\u4e48\u7a0b\u5ea6\u201d\u7684\u80fd\u529b&#xff0c;\u7a00\u7f3a\u6027\u5728\u4e0a\u5347\u3002<\/p>\n<p>\u56de\u5230\u6807\u9898\u7684\u95ee\u9898&#xff1a;AI \u4f1a\u53d6\u4ee3\u5168\u6808\u5de5\u7a0b\u5e08\u5417&#xff1f;\u6211\u7684\u5224\u65ad\u662f&#xff0c;AI \u4e0d\u4f1a\u53d6\u4ee3\u201c\u5de5\u7a0b\u5e08\u201d&#xff0c;\u4f46\u4f1a\u53d6\u4ee3\u201c\u53ea\u4f1a\u5199\u4ee3\u7801\u7684\u5168\u6808\u201d\u3002\u5728 Spring Boot &#043; Vue3 \u8fd9\u6837\u7684\u6210\u719f\u6280\u672f\u6808\u4e2d&#xff0c;AI \u5df2\u7ecf\u662f\u4e00\u4e2a\u4e0d\u53ef\u5ffd\u89c6\u7684\u751f\u4ea7\u529b\u5de5\u5177&#xff0c;\u5b83\u8ba9\u201c\u505a\u51fa\u4e00\u4e2a\u80fd\u8dd1\u7684\u7cfb\u7edf\u201d\u53d8\u5f97\u524d\u6240\u672a\u6709\u7684\u4fbf\u5b9c\u3002\u4f46\u8ba9\u4e00\u4e2a\u7cfb\u7edf\u5728\u771f\u5b9e\u4e1a\u52a1\u4e2d\u6301\u7eed\u53ef\u9760\u5730\u8fd0\u8f6c&#xff0c;\u9700\u8981\u7684\u662f\u4e00\u7cfb\u5217 AI \u76ee\u524d\u4e0d\u5177\u5907\u7684\u5224\u65ad\u529b&#xff1a;\u5bf9\u9690\u542b\u9700\u6c42\u7684\u6316\u6398\u3001\u5bf9\u67b6\u6784\u4e00\u81f4\u6027\u7684\u5b88\u62a4\u3001\u5bf9\u8d28\u91cf\u6807\u51c6\u7684\u5b9a\u4e49\u3001\u4ee5\u53ca\u5bf9\u201c\u4ec0\u4e48\u65f6\u5019\u4e0d\u8be5\u7528 AI\u201d\u7684\u514b\u5236\u3002<\/p>\n<p>\u8fd9\u4e9b\u80fd\u529b&#xff0c;\u6070\u6070\u6784\u6210\u4e86\u4e0b\u4e00\u4ee3\u5168\u6808\u5de5\u7a0b\u5e08\u7684\u6838\u5fc3\u58c1\u5792\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AI \u4f1a\u53d6\u4ee3\u5168\u6808\u5de5\u7a0b\u5e08\u5417&#xff1f;\u57fa\u4e8e Spring Boot  Vue3 \u7684\u6df1\u5ea6\u601d\u8003<br \/>\n\u524d\u8a00<br \/>\n\u8fc7\u53bb\u534a\u5e74\u91cc&#xff0c;\u6211\u6240\u5728\u7684\u56e2\u961f\u7ecf\u5386\u4e86\u4e00\u6b21\u4e0d\u5927\u4e0d\u5c0f\u7684\u6280\u672f\u8def\u7ebf\u4e89\u8bba\u3002\u8d77\u56e0\u5f88\u7b80\u5355&#xff1a;\u4e00\u4f4d\u521a\u5165\u804c\u7684\u5e74\u8f7b\u540c\u4e8b\u7528 Claude Code \u5728\u4e24\u5929\u5185\u642d\u51fa\u4e86\u4e00\u4e2a\u5305\u542b\u7528\u6237\u8ba4\u8bc1\u3001\u6743\u9650\u7ba1\u7406\u548c\u6570\u636e\u770b\u677f\u7684\u524d\u540e\u7aef\u5206\u79bb\u7cfb\u7edf&#xff0c;\u529f\u80fd\u5b8c\u6574\u5ea6\u76f8\u5f53\u9ad8\u3002\u4ed6\u7684\u7ed3\u8bba\u5f88\u76f4\u63a5\u2014\u2014\u201c\u5168\u6808\u5de5\u7a0b\u5e08\u7684\u6d3b&#xff0c;AI \u5df2\u7ecf\u80fd\u5e72\u4e86\u767e\u5206\u4e4b\u4e03\u516b\u5341&#xff0c;\u6211\u4eec\u8fd8\u6709\u5fc5\u8981\u82b1\u65f6\u95f4\u6df1\u5165\u638c\u63e1 Spring<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[98,50,1654],"topic":[],"class_list":["post-115165","post","type-post","status-publish","format-standard","hentry","category-server","tag-spring-boot","tag-50","tag-1654"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AI \u4f1a\u53d6\u4ee3\u5168\u6808\u5de5\u7a0b\u5e08\u5417\uff1f\u57fa\u4e8e Spring Boot + Vue3 \u7684\u6df1\u5ea6\u601d\u8003 - \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\/115165.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AI \u4f1a\u53d6\u4ee3\u5168\u6808\u5de5\u7a0b\u5e08\u5417\uff1f\u57fa\u4e8e Spring Boot + Vue3 \u7684\u6df1\u5ea6\u601d\u8003 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"AI \u4f1a\u53d6\u4ee3\u5168\u6808\u5de5\u7a0b\u5e08\u5417&#xff1f;\u57fa\u4e8e Spring Boot Vue3 \u7684\u6df1\u5ea6\u601d\u8003 \u524d\u8a00 \u8fc7\u53bb\u534a\u5e74\u91cc&#xff0c;\u6211\u6240\u5728\u7684\u56e2\u961f\u7ecf\u5386\u4e86\u4e00\u6b21\u4e0d\u5927\u4e0d\u5c0f\u7684\u6280\u672f\u8def\u7ebf\u4e89\u8bba\u3002\u8d77\u56e0\u5f88\u7b80\u5355&#xff1a;\u4e00\u4f4d\u521a\u5165\u804c\u7684\u5e74\u8f7b\u540c\u4e8b\u7528 Claude Code \u5728\u4e24\u5929\u5185\u642d\u51fa\u4e86\u4e00\u4e2a\u5305\u542b\u7528\u6237\u8ba4\u8bc1\u3001\u6743\u9650\u7ba1\u7406\u548c\u6570\u636e\u770b\u677f\u7684\u524d\u540e\u7aef\u5206\u79bb\u7cfb\u7edf&#xff0c;\u529f\u80fd\u5b8c\u6574\u5ea6\u76f8\u5f53\u9ad8\u3002\u4ed6\u7684\u7ed3\u8bba\u5f88\u76f4\u63a5\u2014\u2014\u201c\u5168\u6808\u5de5\u7a0b\u5e08\u7684\u6d3b&#xff0c;AI \u5df2\u7ecf\u80fd\u5e72\u4e86\u767e\u5206\u4e4b\u4e03\u516b\u5341&#xff0c;\u6211\u4eec\u8fd8\u6709\u5fc5\u8981\u82b1\u65f6\u95f4\u6df1\u5165\u638c\u63e1 Spring\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/115165.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-11T02:56:54+00:00\" \/>\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\/115165.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/115165.html\",\"name\":\"AI \u4f1a\u53d6\u4ee3\u5168\u6808\u5de5\u7a0b\u5e08\u5417\uff1f\u57fa\u4e8e Spring Boot + Vue3 \u7684\u6df1\u5ea6\u601d\u8003 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-11T02:56:54+00:00\",\"dateModified\":\"2026-10-11T02:56:54+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/115165.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/115165.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/115165.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI \u4f1a\u53d6\u4ee3\u5168\u6808\u5de5\u7a0b\u5e08\u5417\uff1f\u57fa\u4e8e Spring Boot + Vue3 \u7684\u6df1\u5ea6\u601d\u8003\"}]},{\"@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":"AI \u4f1a\u53d6\u4ee3\u5168\u6808\u5de5\u7a0b\u5e08\u5417\uff1f\u57fa\u4e8e Spring Boot + Vue3 \u7684\u6df1\u5ea6\u601d\u8003 - \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\/115165.html","og_locale":"zh_CN","og_type":"article","og_title":"AI \u4f1a\u53d6\u4ee3\u5168\u6808\u5de5\u7a0b\u5e08\u5417\uff1f\u57fa\u4e8e Spring Boot + Vue3 \u7684\u6df1\u5ea6\u601d\u8003 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"AI \u4f1a\u53d6\u4ee3\u5168\u6808\u5de5\u7a0b\u5e08\u5417&#xff1f;\u57fa\u4e8e Spring Boot Vue3 \u7684\u6df1\u5ea6\u601d\u8003 \u524d\u8a00 \u8fc7\u53bb\u534a\u5e74\u91cc&#xff0c;\u6211\u6240\u5728\u7684\u56e2\u961f\u7ecf\u5386\u4e86\u4e00\u6b21\u4e0d\u5927\u4e0d\u5c0f\u7684\u6280\u672f\u8def\u7ebf\u4e89\u8bba\u3002\u8d77\u56e0\u5f88\u7b80\u5355&#xff1a;\u4e00\u4f4d\u521a\u5165\u804c\u7684\u5e74\u8f7b\u540c\u4e8b\u7528 Claude Code \u5728\u4e24\u5929\u5185\u642d\u51fa\u4e86\u4e00\u4e2a\u5305\u542b\u7528\u6237\u8ba4\u8bc1\u3001\u6743\u9650\u7ba1\u7406\u548c\u6570\u636e\u770b\u677f\u7684\u524d\u540e\u7aef\u5206\u79bb\u7cfb\u7edf&#xff0c;\u529f\u80fd\u5b8c\u6574\u5ea6\u76f8\u5f53\u9ad8\u3002\u4ed6\u7684\u7ed3\u8bba\u5f88\u76f4\u63a5\u2014\u2014\u201c\u5168\u6808\u5de5\u7a0b\u5e08\u7684\u6d3b&#xff0c;AI \u5df2\u7ecf\u80fd\u5e72\u4e86\u767e\u5206\u4e4b\u4e03\u516b\u5341&#xff0c;\u6211\u4eec\u8fd8\u6709\u5fc5\u8981\u82b1\u65f6\u95f4\u6df1\u5165\u638c\u63e1 Spring","og_url":"https:\/\/www.wsisp.com\/helps\/115165.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-11T02:56:54+00:00","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\/115165.html","url":"https:\/\/www.wsisp.com\/helps\/115165.html","name":"AI \u4f1a\u53d6\u4ee3\u5168\u6808\u5de5\u7a0b\u5e08\u5417\uff1f\u57fa\u4e8e Spring Boot + Vue3 \u7684\u6df1\u5ea6\u601d\u8003 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-11T02:56:54+00:00","dateModified":"2026-10-11T02:56:54+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/115165.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/115165.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/115165.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"AI \u4f1a\u53d6\u4ee3\u5168\u6808\u5de5\u7a0b\u5e08\u5417\uff1f\u57fa\u4e8e Spring Boot + Vue3 \u7684\u6df1\u5ea6\u601d\u8003"}]},{"@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\/115165","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=115165"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/115165\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=115165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=115165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=115165"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=115165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}