{"id":52072,"date":"2025-08-11T09:59:59","date_gmt":"2025-08-11T01:59:59","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/52072.html"},"modified":"2025-08-11T09:59:59","modified_gmt":"2025-08-11T01:59:59","slug":"%e5%9f%ba%e4%ba%8ejavaspringbootvuehtml5%e8%ae%ba%e5%9d%9b%e7%bd%91%e7%ab%99%e6%ba%90%e7%a0%81lw%e8%b0%83%e8%af%95%e6%96%87%e6%a1%a3%e8%ae%b2%e8%a7%a3%e7%ad%89-%e7%a4%be%e5%8c%ba%e7%bd%91","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/52072.html","title":{"rendered":"\u57fa\u4e8eJava+SpringBoot+Vue+HTML5\u8bba\u575b\u7f51\u7ad9(\u6e90\u7801+LW+\u8c03\u8bd5\u6587\u6863+\u8bb2\u89e3\u7b49)\/\u793e\u533a\u7f51\u7ad9\/\u5728\u7ebf\u8bba\u575b\/\u8bba\u575b\u5e73\u53f0\/\u8bba\u575b\u8ba8\u8bba\/\u8bba\u575b\u5e16\u5b50\/\u7f51\u7ad9\u8bba\u575b\/\u8bba\u575b\u4ea4\u6d41\/\u8bba\u575b\u7248\u5757\/\u8bba\u575b\u95e8\u6237\/\u8bba\u575b\u4e3b\u9875"},"content":{"rendered":"<h2>\u535a\u4e3b\u4ecb\u7ecd<\/h2>\n<p>&#x1f497;\u535a\u4e3b\u4ecb\u7ecd&#xff1a;\u270c\u5168\u6808\u9886\u57df\u4f18\u8d28\u521b\u4f5c\u8005&#xff0c;\u4e13\u6ce8\u4e8eJava\u3001\u5c0f\u7a0b\u5e8f\u3001Python\u6280\u672f\u9886\u57df\u548c\u8ba1\u7b97\u673a\u6bd5\u4e1a\u9879\u76ee\u5b9e\u6218\u270c&#x1f497; &#x1f447;&#x1f3fb; \u7cbe\u5f69\u4e13\u680f \u63a8\u8350\u8ba2\u9605&#x1f447;&#x1f3fb; 2025-2026\u5e74\u6700\u65b01000\u4e2a\u70ed\u95e8Java\u6bd5\u4e1a\u8bbe\u8ba1\u9009\u9898\u5927\u5168\u2705 2025-2026\u5e74\u6700\u65b0500\u4e2a\u70ed\u95e8\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6bd5\u4e1a\u8bbe\u8ba1\u9009\u9898\u5927\u5168\u2705 Java\u6bd5\u4e1a\u8bbe\u8ba1\u6700\u65b01000\u5957\u9879\u76ee\u7cbe\u54c1\u5b9e\u6218\u6848\u4f8b \u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6bd5\u4e1a\u8bbe\u8ba1\u6700\u65b0500\u5957\u9879\u76ee\u7cbe\u54c1\u6848\u4f8b<\/p>\n<p><font color=\"red\">&#x1f31f;\u6587\u672b\u83b7\u53d6\u6e90\u7801&#043;\u6570\u636e\u5e93&#x1f31f; \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<h2>\u672c\u6587\u9879\u76ee\u6280\u672f\u9009\u578b\u4ecb\u7ecd<\/h2>\n<p>\u524d\u7aef&#xff1a;Vue\u3001Vue.js\u3001ElementUI\u3001HTML5\u3001BootStrap\u3001CSS3\u3001JavaScript\u3001jQuery\u3001LayUI \u540e\u7aef&#xff1a;SpringBoot&#043;Mybatis \u6570\u636e\u5e93&#xff1a;MySQL\u3001SQLServer \u5f00\u53d1\u5de5\u5177&#xff1a;IDEA\u3001Eclipse\u3001Navicat\u7b49 <font color=\"red\">\u270c\u5173\u4e8e\u6bd5\u8bbe\u9879\u76ee\u6280\u672f\u5b9e\u73b0\u95ee\u9898\u8bb2\u89e3\u4e5f\u53ef\u4ee5\u7ed9\u6211\u7559\u8a00\u54a8\u8be2&#xff01;&#xff01;&#xff01;<\/font><\/p>\n<h2>\u8be6\u7ec6\u89c6\u9891\u6f14\u793a<\/h2>\n<p>\u8bf7\u8054\u7cfb\u535a\u4e3b\u83b7\u53d6\u66f4\u8be6\u7ec6\u7684\u6f14\u793a\u89c6\u9891-\u6e90\u7801\u7f16\u53f7913<\/p>\n<h2>\u5177\u4f53\u5b9e\u73b0\u622a\u56fe<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015945-68994e91dbd99.jpg\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015947-68994e931e8ed.jpg\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015947-68994e93e5805.jpg\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015948-68994e9495a7f.jpg\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015949-68994e954ecab.jpg\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015950-68994e9608f47.jpg\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015950-68994e96a8528.jpg\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015951-68994e975e37f.jpg\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015952-68994e9825d79.jpg\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015952-68994e98dbbc3.jpg\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015953-68994e996d1c1.jpg\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015954-68994e9a0d5e3.jpg\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015954-68994e9ab0ec2.jpg\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015955-68994e9bc4369.jpg\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015956-68994e9cc8663.jpg\" \/><\/p>\n<h2>\u6846\u67b6\u4ecb\u7ecd<\/h2>\n<h3>\u524d\u7aef\u6280\u672f\u4ecb\u7ecd<\/h3>\n<p>Vue \u7684\u6307\u4ee4\u7cfb\u7edf\u5728\u7a0b\u5e8f\u8bbe\u8ba1\u4e2d\u975e\u5e38\u5f3a\u5927\u3002\u901a\u8fc7 v-if\u3001v-for \u7b49\u6307\u4ee4&#xff0c;\u7a0b\u5e8f\u8bbe\u8ba1\u8005\u53ef\u4ee5\u65b9\u4fbf\u5730\u63a7\u5236\u5143\u7d20\u7684\u663e\u793a\u548c\u5faa\u73af\u904d\u5386\u6570\u636e\u3002\u8fd9\u4e9b\u6307\u4ee4\u4f7f\u5f97\u9875\u9762\u7684\u903b\u8f91\u5904\u7406\u66f4\u52a0\u7b80\u6d01\u660e\u4e86&#xff0c;\u51cf\u5c11\u4e86\u590d\u6742\u7684 JavaScript \u4ee3\u7801\u7684\u7f16\u5199&#xff0c;\u63d0\u9ad8\u4e86\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u3002\u5bf9\u4e8e\u7a0b\u5e8f\u8bbe\u8ba1\u6765\u8bf4&#xff0c;HTML\u3001CSS \u548c JavaScript \u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u5de5\u5177\u3002HTML \u5feb\u901f\u6784\u5efa\u51fa\u7f51\u9875\u7684\u8f6e\u5ed3&#xff0c;CSS \u4e3a\u5176\u62ab\u4e0a\u534e\u4e3d\u7684\u5916\u8863&#xff0c;JavaScript \u5219\u8d4b\u4e88\u7f51\u9875\u667a\u80fd\u548c\u6d3b\u529b\u3002\u4ece\u7b80\u5355\u7684\u9759\u6001\u9875\u9762\u5230\u590d\u6742\u7684\u52a8\u6001\u5e94\u7528&#xff0c;\u8fd9\u4e09\u8005\u7684\u534f\u540c\u4f5c\u7528\u8d2f\u7a7f\u59cb\u7ec8\u3002\u7a0b\u5e8f\u8bbe\u8ba1\u8005\u719f\u7ec3\u638c\u63e1\u5b83\u4eec\u7684\u4f7f\u7528\u65b9\u6cd5&#xff0c;\u5c31\u80fd\u6253\u9020\u51fa\u529f\u80fd\u5f3a\u5927\u3001\u7f8e\u89c2\u6613\u7528\u7684\u7f51\u9875\u7a0b\u5e8f&#xff0c;\u6ee1\u8db3\u4e0d\u540c\u7528\u6237\u7684\u9700\u6c42\u3002<\/p>\n<h3>\u540e\u7aef\u6280\u672f\u4ecb\u7ecd<\/h3>\n<p>\u5728\u7a0b\u5e8f\u8bbe\u8ba1\u7684\u76d1\u63a7\u548c\u7ba1\u7406\u65b9\u9762&#xff0c;Spring Boot \u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5de5\u5177\u3002Actuator \u6a21\u5757\u53ef\u4ee5\u5b9e\u65f6\u76d1\u63a7\u5e94\u7528\u7684\u8fd0\u884c\u72b6\u6001\u3001\u6027\u80fd\u6307\u6807\u7b49\u4fe1\u606f&#xff0c;\u65b9\u4fbf\u5f00\u53d1\u8005\u8fdb\u884c\u6545\u969c\u6392\u67e5\u548c\u6027\u80fd\u4f18\u5316\u3002\u540c\u65f6&#xff0c;Spring Boot \u8fd8\u652f\u6301\u5916\u90e8\u914d\u7f6e\u6587\u4ef6\u7684\u52a8\u6001\u52a0\u8f7d&#xff0c;\u4f7f\u5f97\u5728\u8fd0\u884c\u65f6\u8c03\u6574\u5e94\u7528\u7684\u914d\u7f6e\u53d8\u5f97\u66f4\u52a0\u5bb9\u6613\u3002<\/p>\n<h2>\u9879\u76ee\u76f8\u8fd1\u8bcd(\u53ef\u5ffd\u7565)<\/h2>\n<p>\u793e\u533a\u7f51\u7ad9\u3001\u5728\u7ebf\u8bba\u575b\u3001\u8bba\u575b\u5e73\u53f0\u3001\u8bba\u575b\u8ba8\u8bba\u3001\u8bba\u575b\u5e16\u5b50\u3001\u7f51\u7ad9\u8bba\u575b\u3001\u8bba\u575b\u4ea4\u6d41\u3001\u8bba\u575b\u7248\u5757\u3001\u8bba\u575b\u95e8\u6237\u3001\u8bba\u575b\u4e3b\u9875\u3001<\/p>\n<h2>\u9879\u76ee\u76f8\u5173\u4ecb\u7ecd<\/h2>\n<p>### \u7cfb\u7edf\u89d2\u8272\u53ca\u529f\u80fd&#xff1a;<\/p>\n<p>1. **\u7ba1\u7406\u5458**<br \/>\n   &#8211; \u4e2a\u4eba\u4e2d\u5fc3<br \/>\n   &#8211; \u7528\u6237\u7ba1\u7406<br \/>\n   &#8211; \u666e\u901a\u7ba1\u7406\u5458\u7ba1\u7406<br \/>\n   &#8211; \u8bba\u575b\u7c7b\u522b\u7ba1\u7406<br \/>\n   &#8211; \u4ea4\u6d41\u8bba\u575b\u7ba1\u7406<br \/>\n   &#8211; \u7cfb\u7edf\u7ba1\u7406  <\/p>\n<p>2. **\u7528\u6237**<br \/>\n   &#8211; \u4e2a\u4eba\u4e2d\u5fc3<br \/>\n   &#8211; \u4ea4\u6d41\u8bba\u575b\u7ba1\u7406&#xff08;\u53d1\u5e03\/\u8bc4\u8bba&#xff09;<br \/>\n   &#8211; \u6211\u7684\u6536\u85cf\u7ba1\u7406<br \/>\n   &#8211; \u7cfb\u7edf\u7ba1\u7406  <\/p>\n<p>3. **\u666e\u901a\u7ba1\u7406\u5458**<br \/>\n   &#8211; \u4e2a\u4eba\u4e2d\u5fc3<br \/>\n   &#8211; \u4ea4\u6d41\u8bba\u575b\u7ba1\u7406&#xff08;\u5ba1\u6838\/\u7ef4\u62a4&#xff09;  <\/p>\n<p>&#8212;<br \/>\n**\u6ce8**&#xff1a;\u89d2\u8272\u529f\u80fd\u57fa\u4e8e\u6458\u8981\u548c\u7cfb\u7edf\u8bbe\u8ba1\u90e8\u5206\u6574\u7406&#xff0c;\u6838\u5fc3\u6743\u9650\u56f4\u7ed5\u8bba\u575b\u5185\u5bb9\u7ba1\u7406\u3001\u7528\u6237\u6743\u9650\u5206\u914d\u53ca\u7cfb\u7edf\u57fa\u7840\u914d\u7f6e\u3002<\/p>\n<h2>\u7cfb\u7edf\u6d4b\u8bd5<\/h2>\n<p>\u7cfb\u7edf\u6d4b\u8bd5\u5728\u7a0b\u5e8f\u8bbe\u8ba1\u4e2d\u72b9\u5982\u4e00\u628a\u7cbe\u5bc6\u7684\u6807\u5c3a&#xff0c;\u8861\u91cf\u7740\u7a0b\u5e8f\u7684\u8d28\u91cf\u3002\u5b83\u662f\u7a0b\u5e8f\u4e0a\u7ebf\u524d\u7684\u6700\u540e\u4e00\u9053\u9632\u7ebf\u3002\u5728\u7cfb\u7edf\u6d4b\u8bd5\u4e2d&#xff0c;\u6027\u80fd\u6d4b\u8bd5\u662f\u91cd\u8981\u7684\u4e00\u73af\u3002\u6d4b\u8bd5\u4eba\u5458\u4f1a\u8bc4\u4f30\u7a0b\u5e8f\u7684\u54cd\u5e94\u65f6\u95f4\u3001\u541e\u5410\u91cf\u548c\u8d44\u6e90\u5229\u7528\u7387\u7b49\u6307\u6807\u3002\u6bd4\u5982\u5728\u4e00\u4e2a\u793e\u4ea4\u7f51\u7edc\u5e94\u7528\u7684\u7a0b\u5e8f\u8bbe\u8ba1\u4e2d&#xff0c;\u6027\u80fd\u6d4b\u8bd5\u8981\u786e\u4fdd\u6d88\u606f\u63a8\u9001\u7684\u53ca\u65f6\u6027\u3001\u56fe\u7247\u4e0a\u4f20\u548c\u4e0b\u8f7d\u7684\u901f\u5ea6\u3002\u6b64\u5916&#xff0c;\u7528\u6237\u4f53\u9a8c\u6d4b\u8bd5\u4e5f\u4e0d\u5bb9\u5ffd\u89c6&#xff0c;\u901a\u8fc7\u6a21\u62df\u771f\u5b9e\u7528\u6237\u7684\u64cd\u4f5c&#xff0c;\u6536\u96c6\u53cd\u9988\u610f\u89c1&#xff0c;\u5bf9\u7a0b\u5e8f\u7684\u754c\u9762\u8bbe\u8ba1\u3001\u4ea4\u4e92\u6d41\u7a0b\u8fdb\u884c\u4f18\u5316\u3002\u7cfb\u7edf\u6d4b\u8bd5\u7684\u4e25\u8c28\u6027\u548c\u5168\u9762\u6027&#xff0c;\u4e3a\u7a0b\u5e8f\u7684\u6210\u529f\u53d1\u5e03\u5960\u5b9a\u4e86\u575a\u5b9e\u7684\u57fa\u7840\u3002<\/p>\n<h2>\u90e8\u5206\u6838\u5fc3\u4ee3\u7801<\/h2>\n<p>&#064;RestController<br \/>\n&#064;RequestMapping(&#034;file&#034;)<br \/>\n&#064;SuppressWarnings({&#034;unchecked&#034;,&#034;rawtypes&#034;})<br \/>\npublic class FileController{<br \/>\n&#064;Autowired<br \/>\n    private ConfigService configService;<br \/>\n\/**<br \/>\n * \u4e0a\u4f20\u6587\u4ef6<br \/>\n *\/<br \/>\n&#064;RequestMapping(&#034;\/upload&#034;)<br \/>\npublic R upload(&#064;RequestParam(&#034;file&#034;) MultipartFile file,String type) throws Exception {<br \/>\nif (file.isEmpty()) {<br \/>\nthrow new EIException(&#034;\u4e0a\u4f20\u6587\u4ef6\u4e0d\u80fd\u4e3a\u7a7a&#034;);<br \/>\n}<br \/>\nString fileExt &#061; file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf(&#034;.&#034;)&#043;1);<br \/>\nFile path &#061; new File(ResourceUtils.getURL(&#034;classpath:static&#034;).getPath());<br \/>\nif(!path.exists()) {<br \/>\n    path &#061; new File(&#034;&#034;);<br \/>\n}<br \/>\nFile upload &#061; new File(path.getAbsolutePath(),&#034;\/upload\/&#034;);<br \/>\nif(!upload.exists()) {<br \/>\n    upload.mkdirs();<br \/>\n}<br \/>\nString fileName &#061; new Date().getTime()&#043;&#034;.&#034;&#043;fileExt;<br \/>\nFile dest &#061; new File(upload.getAbsolutePath()&#043;&#034;\/&#034;&#043;fileName);<br \/>\nfile.transferTo(dest);<br \/>\nif(StringUtils.isNotBlank(type) &amp;&amp; type.equals(&#034;1&#034;)) {<br \/>\nConfigEntity configEntity &#061; configService.selectOne(new EntityWrapper&lt;ConfigEntity&gt;().eq(&#034;name&#034;, &#034;faceFile&#034;));<br \/>\nif(configEntity&#061;&#061;null) {<br \/>\nconfigEntity &#061; new ConfigEntity();<br \/>\nconfigEntity.setName(&#034;faceFile&#034;);<br \/>\nconfigEntity.setValue(fileName);<br \/>\n} else {<br \/>\nconfigEntity.setValue(fileName);<br \/>\n}<br \/>\nconfigService.insertOrUpdate(configEntity);<br \/>\n}<br \/>\nreturn R.ok().put(&#034;file&#034;, fileName);<br \/>\n}<\/p>\n<p>\/**<br \/>\n * \u4e0b\u8f7d\u6587\u4ef6<br \/>\n *\/<br \/>\n&#064;IgnoreAuth<br \/>\n&#064;RequestMapping(&#034;\/download&#034;)<br \/>\npublic ResponseEntity&lt;byte[]&gt; download(&#064;RequestParam String fileName) {<br \/>\ntry {<br \/>\nFile path &#061; new File(ResourceUtils.getURL(&#034;classpath:static&#034;).getPath());<br \/>\nif(!path.exists()) {<br \/>\n    path &#061; new File(&#034;&#034;);<br \/>\n}<br \/>\nFile upload &#061; new File(path.getAbsolutePath(),&#034;\/upload\/&#034;);<br \/>\nif(!upload.exists()) {<br \/>\n    upload.mkdirs();<br \/>\n}<br \/>\nFile file &#061; new File(upload.getAbsolutePath()&#043;&#034;\/&#034;&#043;fileName);<br \/>\nif(file.exists()){<br \/>\n\/*if(!fileService.canRead(file, SessionManager.getSessionUser())){<br \/>\ngetResponse().sendError(403);<br \/>\n}*\/<br \/>\nHttpHeaders headers &#061; new HttpHeaders();<br \/>\n    headers.setContentType(MediaType.APPLICATION_OCTET_STREAM);<br \/>\n    headers.setContentDispositionFormData(&#034;attachment&#034;, fileName);<br \/>\n    return new ResponseEntity&lt;byte[]&gt;(FileUtils.readFileToByteArray(file),headers, HttpStatus.CREATED);<br \/>\n}<br \/>\n} catch (IOException e) {<br \/>\ne.printStackTrace();<br \/>\n}<br \/>\nreturn new ResponseEntity&lt;byte[]&gt;(HttpStatus.INTERNAL_SERVER_ERROR);<br \/>\n}<\/p>\n<p>}<\/p>\n<h2>\u8bba\u6587\u622a\u56fe<\/h2>\n<h2>\u4e3a\u4ec0\u4e48\u9009\u62e9\u6211<\/h2>\n<p><font color=\"red\">\u535a\u4e3b\u81ea\u5df1\u5c31\u662f\u7a0b\u5e8f\u5458\u3001\u907f\u514d\u4e2d\u4ecb\u5bf9\u63a5&#xff0c;<\/font>\u4ece\u4e8b\u8f6f\u4ef6\u5f00\u53d1\u591a\u5e74&#xff0c;\u7d2f\u8ba1\u5f00\u53d1\u6216\u8f85\u5bfc\u591a\u540d\u540c\u5b66&#xff0c; \u6709\u4e30\u5bcc\u7684\u9879\u76ee\u5f00\u53d1\u548c\u6587\u6863\u7f16\u5199\u7ecf\u9a8c\u3001\u540c\u5b66\u4eec\u6709\u4efb\u4f55\u9879\u76ee\u95ee\u9898\u90fd\u53ef\u4ee5\u8054\u7cfb\u6211&#xff0c;Java\u9886\u57df\u4f18\u8d28\u521b\u4f5c\u8005\u3001\u4e13\u6ce8\u4e8eJava\u6280\u672f\u9886\u57df\u548c\u5b66\u751f\u6bd5\u4e1a\u9879\u76ee\u5b9e\u6218\u3002<\/p>\n<h2>\u6e90\u7801\u83b7\u53d6<\/h2>\n<p>2025-2026\u5e74\u6700\u65b01000\u4e2a\u70ed\u95e8Java\u6bd5\u4e1a\u8bbe\u8ba1\u9009\u9898\u5927\u5168\u2705 \u6587\u7ae0\u4e0b\u65b9\u540d\u7247\u8054\u7cfb\u6211\u5373\u53ef~ \u5927\u5bb6<font color=\"red\">\u70b9\u8d5e\u3001\u6536\u85cf\u3001\u5173\u6ce8\u3001\u8bc4\u8bba\u5566 \u3001\u67e5\u770b&#x1f447;&#x1f3fb;\u83b7\u53d6\u8054\u7cfb\u65b9\u5f0f&#x1f447;&#x1f3fb;<\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb526\u6b21\uff0c\u70b9\u8d5e24\u6b21\uff0c\u6536\u85cf3\u6b21\u3002\u524d\u7aef\uff1aVue\u3001Vue.js\u3001ElementUI\u3001HTML5\u3001BootStrap\u3001CSS3\u3001JavaScript\u3001jQuery\u3001LayUI\u540e\u7aef\uff1aSpringBoot+Mybatis\u6570\u636e\u5e93\uff1aMySQL\u3001SQLServer\u5f00\u53d1\u5de5\u5177\uff1aIDEA\u3001Eclipse\u3001Navicat\u7b49\u270c\u5173\u4e8e\u6bd5\u8bbe\u9879\u76ee\u6280\u672f\u5b9e\u73b0\u95ee\u9898\u8bb2\u89e3\u4e5f\u53ef\u4ee5\u7ed9\u6211\u7559\u8a00\u54a8\u8be2\uff01\uff01\uff01Vue \u7684\u6307\u4ee4\u7cfb\u7edf\u5728\u7a0b\u5e8f\u8bbe\u8ba1\u4e2d\u975e\u5e38\u5f3a\u5927\u3002\u901a\u8fc7 v-if\u3001v-for \u7b49\u6307\u4ee4\uff0c\u7a0b\u5e8f\u8bbe\u8ba1\u8005\u53ef\u4ee5\u65b9\u4fbf\u5730\u63a7\u5236\u5143\u7d20\u7684\u663e\u793a\u548c\u5faa\u73af\u904d\u5386\u6570\u636e\u3002<\/p>\n","protected":false},"author":2,"featured_media":52057,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2202,99,1187,426,1113,2161,101],"topic":[],"class_list":["post-52072","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-hibernate","tag-java","tag-java-rocketmq","tag-jvm","tag-log4j","tag-nio","tag-spring"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u57fa\u4e8eJava+SpringBoot+Vue+HTML5\u8bba\u575b\u7f51\u7ad9(\u6e90\u7801+LW+\u8c03\u8bd5\u6587\u6863+\u8bb2\u89e3\u7b49)\/\u793e\u533a\u7f51\u7ad9\/\u5728\u7ebf\u8bba\u575b\/\u8bba\u575b\u5e73\u53f0\/\u8bba\u575b\u8ba8\u8bba\/\u8bba\u575b\u5e16\u5b50\/\u7f51\u7ad9\u8bba\u575b\/\u8bba\u575b\u4ea4\u6d41\/\u8bba\u575b\u7248\u5757\/\u8bba\u575b\u95e8\u6237\/\u8bba\u575b\u4e3b\u9875 - \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\/52072.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u57fa\u4e8eJava+SpringBoot+Vue+HTML5\u8bba\u575b\u7f51\u7ad9(\u6e90\u7801+LW+\u8c03\u8bd5\u6587\u6863+\u8bb2\u89e3\u7b49)\/\u793e\u533a\u7f51\u7ad9\/\u5728\u7ebf\u8bba\u575b\/\u8bba\u575b\u5e73\u53f0\/\u8bba\u575b\u8ba8\u8bba\/\u8bba\u575b\u5e16\u5b50\/\u7f51\u7ad9\u8bba\u575b\/\u8bba\u575b\u4ea4\u6d41\/\u8bba\u575b\u7248\u5757\/\u8bba\u575b\u95e8\u6237\/\u8bba\u575b\u4e3b\u9875 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb526\u6b21\uff0c\u70b9\u8d5e24\u6b21\uff0c\u6536\u85cf3\u6b21\u3002\u524d\u7aef\uff1aVue\u3001Vue.js\u3001ElementUI\u3001HTML5\u3001BootStrap\u3001CSS3\u3001JavaScript\u3001jQuery\u3001LayUI\u540e\u7aef\uff1aSpringBoot+Mybatis\u6570\u636e\u5e93\uff1aMySQL\u3001SQLServer\u5f00\u53d1\u5de5\u5177\uff1aIDEA\u3001Eclipse\u3001Navicat\u7b49\u270c\u5173\u4e8e\u6bd5\u8bbe\u9879\u76ee\u6280\u672f\u5b9e\u73b0\u95ee\u9898\u8bb2\u89e3\u4e5f\u53ef\u4ee5\u7ed9\u6211\u7559\u8a00\u54a8\u8be2\uff01\uff01\uff01Vue \u7684\u6307\u4ee4\u7cfb\u7edf\u5728\u7a0b\u5e8f\u8bbe\u8ba1\u4e2d\u975e\u5e38\u5f3a\u5927\u3002\u901a\u8fc7 v-if\u3001v-for \u7b49\u6307\u4ee4\uff0c\u7a0b\u5e8f\u8bbe\u8ba1\u8005\u53ef\u4ee5\u65b9\u4fbf\u5730\u63a7\u5236\u5143\u7d20\u7684\u663e\u793a\u548c\u5faa\u73af\u904d\u5386\u6570\u636e\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/52072.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-11T01:59:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015945-68994e91dbd99.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/52072.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/52072.html\",\"name\":\"\u57fa\u4e8eJava+SpringBoot+Vue+HTML5\u8bba\u575b\u7f51\u7ad9(\u6e90\u7801+LW+\u8c03\u8bd5\u6587\u6863+\u8bb2\u89e3\u7b49)\/\u793e\u533a\u7f51\u7ad9\/\u5728\u7ebf\u8bba\u575b\/\u8bba\u575b\u5e73\u53f0\/\u8bba\u575b\u8ba8\u8bba\/\u8bba\u575b\u5e16\u5b50\/\u7f51\u7ad9\u8bba\u575b\/\u8bba\u575b\u4ea4\u6d41\/\u8bba\u575b\u7248\u5757\/\u8bba\u575b\u95e8\u6237\/\u8bba\u575b\u4e3b\u9875 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-11T01:59:59+00:00\",\"dateModified\":\"2025-08-11T01:59:59+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/52072.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/52072.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/52072.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u57fa\u4e8eJava+SpringBoot+Vue+HTML5\u8bba\u575b\u7f51\u7ad9(\u6e90\u7801+LW+\u8c03\u8bd5\u6587\u6863+\u8bb2\u89e3\u7b49)\/\u793e\u533a\u7f51\u7ad9\/\u5728\u7ebf\u8bba\u575b\/\u8bba\u575b\u5e73\u53f0\/\u8bba\u575b\u8ba8\u8bba\/\u8bba\u575b\u5e16\u5b50\/\u7f51\u7ad9\u8bba\u575b\/\u8bba\u575b\u4ea4\u6d41\/\u8bba\u575b\u7248\u5757\/\u8bba\u575b\u95e8\u6237\/\u8bba\u575b\u4e3b\u9875\"}]},{\"@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\u4e8eJava+SpringBoot+Vue+HTML5\u8bba\u575b\u7f51\u7ad9(\u6e90\u7801+LW+\u8c03\u8bd5\u6587\u6863+\u8bb2\u89e3\u7b49)\/\u793e\u533a\u7f51\u7ad9\/\u5728\u7ebf\u8bba\u575b\/\u8bba\u575b\u5e73\u53f0\/\u8bba\u575b\u8ba8\u8bba\/\u8bba\u575b\u5e16\u5b50\/\u7f51\u7ad9\u8bba\u575b\/\u8bba\u575b\u4ea4\u6d41\/\u8bba\u575b\u7248\u5757\/\u8bba\u575b\u95e8\u6237\/\u8bba\u575b\u4e3b\u9875 - \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\/52072.html","og_locale":"zh_CN","og_type":"article","og_title":"\u57fa\u4e8eJava+SpringBoot+Vue+HTML5\u8bba\u575b\u7f51\u7ad9(\u6e90\u7801+LW+\u8c03\u8bd5\u6587\u6863+\u8bb2\u89e3\u7b49)\/\u793e\u533a\u7f51\u7ad9\/\u5728\u7ebf\u8bba\u575b\/\u8bba\u575b\u5e73\u53f0\/\u8bba\u575b\u8ba8\u8bba\/\u8bba\u575b\u5e16\u5b50\/\u7f51\u7ad9\u8bba\u575b\/\u8bba\u575b\u4ea4\u6d41\/\u8bba\u575b\u7248\u5757\/\u8bba\u575b\u95e8\u6237\/\u8bba\u575b\u4e3b\u9875 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb526\u6b21\uff0c\u70b9\u8d5e24\u6b21\uff0c\u6536\u85cf3\u6b21\u3002\u524d\u7aef\uff1aVue\u3001Vue.js\u3001ElementUI\u3001HTML5\u3001BootStrap\u3001CSS3\u3001JavaScript\u3001jQuery\u3001LayUI\u540e\u7aef\uff1aSpringBoot+Mybatis\u6570\u636e\u5e93\uff1aMySQL\u3001SQLServer\u5f00\u53d1\u5de5\u5177\uff1aIDEA\u3001Eclipse\u3001Navicat\u7b49\u270c\u5173\u4e8e\u6bd5\u8bbe\u9879\u76ee\u6280\u672f\u5b9e\u73b0\u95ee\u9898\u8bb2\u89e3\u4e5f\u53ef\u4ee5\u7ed9\u6211\u7559\u8a00\u54a8\u8be2\uff01\uff01\uff01Vue \u7684\u6307\u4ee4\u7cfb\u7edf\u5728\u7a0b\u5e8f\u8bbe\u8ba1\u4e2d\u975e\u5e38\u5f3a\u5927\u3002\u901a\u8fc7 v-if\u3001v-for \u7b49\u6307\u4ee4\uff0c\u7a0b\u5e8f\u8bbe\u8ba1\u8005\u53ef\u4ee5\u65b9\u4fbf\u5730\u63a7\u5236\u5143\u7d20\u7684\u663e\u793a\u548c\u5faa\u73af\u904d\u5386\u6570\u636e\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/52072.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-11T01:59:59+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811015945-68994e91dbd99.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/52072.html","url":"https:\/\/www.wsisp.com\/helps\/52072.html","name":"\u57fa\u4e8eJava+SpringBoot+Vue+HTML5\u8bba\u575b\u7f51\u7ad9(\u6e90\u7801+LW+\u8c03\u8bd5\u6587\u6863+\u8bb2\u89e3\u7b49)\/\u793e\u533a\u7f51\u7ad9\/\u5728\u7ebf\u8bba\u575b\/\u8bba\u575b\u5e73\u53f0\/\u8bba\u575b\u8ba8\u8bba\/\u8bba\u575b\u5e16\u5b50\/\u7f51\u7ad9\u8bba\u575b\/\u8bba\u575b\u4ea4\u6d41\/\u8bba\u575b\u7248\u5757\/\u8bba\u575b\u95e8\u6237\/\u8bba\u575b\u4e3b\u9875 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-11T01:59:59+00:00","dateModified":"2025-08-11T01:59:59+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/52072.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/52072.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/52072.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u57fa\u4e8eJava+SpringBoot+Vue+HTML5\u8bba\u575b\u7f51\u7ad9(\u6e90\u7801+LW+\u8c03\u8bd5\u6587\u6863+\u8bb2\u89e3\u7b49)\/\u793e\u533a\u7f51\u7ad9\/\u5728\u7ebf\u8bba\u575b\/\u8bba\u575b\u5e73\u53f0\/\u8bba\u575b\u8ba8\u8bba\/\u8bba\u575b\u5e16\u5b50\/\u7f51\u7ad9\u8bba\u575b\/\u8bba\u575b\u4ea4\u6d41\/\u8bba\u575b\u7248\u5757\/\u8bba\u575b\u95e8\u6237\/\u8bba\u575b\u4e3b\u9875"}]},{"@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\/52072","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=52072"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/52072\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/52057"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=52072"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=52072"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=52072"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=52072"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}