{"id":94120,"date":"2026-08-13T20:01:21","date_gmt":"2026-08-13T12:01:21","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/94120.html"},"modified":"2026-08-13T20:01:21","modified_gmt":"2026-08-13T12:01:21","slug":"%e3%80%90%e5%85%8d%e8%b4%b9%e3%80%91%e5%be%ae%e4%bf%a1%e5%b0%8f%e7%a8%8b%e5%ba%8f%e7%bd%91%e7%ba%a6%e8%bd%a6%e6%89%93%e8%bd%a6%ef%bc%8c%e5%9c%a8%e7%ba%bf%e5%8f%ab%e8%bd%a6%ef%bc%8c%e7%a7%bb%e5%8a%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/94120.html","title":{"rendered":"\u3010\u514d\u8d39\u3011\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7f51\u7ea6\u8f66(\u6253\u8f66\uff0c\u5728\u7ebf\u53eb\u8f66\uff0c\u79fb\u52a8\u51fa\u884c)\u7cfb\u7edf(SpringBoot4+Vue3) \u950b\u54e5\u539f\u521b\u51fa\u54c1\uff0c\u5fc5\u5c5e\u7cbe\u54c1"},"content":{"rendered":"<p>\u5927\u5bb6\u597d&#xff0c;\u6211\u662fJava1234_\u5c0f\u950b\u8001\u5e08&#xff0c;\u5206\u4eab\u4e00\u5957\u950b\u54e5\u539f\u521b\u7684\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7f51\u7ea6\u8f66(\u6253\u8f66&#xff0c;\u5728\u7ebf\u53eb\u8f66&#xff0c;\u79fb\u52a8\u51fa\u884c)\u7cfb\u7edf(SpringBoot4&#043;Vue3)\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1000\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260813120115-6a7db20b608ea.jpg\" width=\"1614\" \/><\/p>\n<h3>\u9879\u76ee\u4ecb\u7ecd<\/h3>\n<p style=\"text-align:justify\">\u968f\u7740\u79fb\u52a8\u4e92\u8054\u7f51\u4e0e\u5171\u4eab\u51fa\u884c\u6a21\u5f0f\u7684\u5feb\u901f\u53d1\u5c55&#xff0c;\u7f51\u7ea6\u8f66\u5df2\u6210\u4e3a\u57ce\u5e02\u5c45\u6c11\u65e5\u5e38\u51fa\u884c\u7684\u91cd\u8981\u65b9\u5f0f\u3002\u4f20\u7edf\u7535\u8bdd\u53ec\u8f66\u6216\u8def\u8fb9\u626c\u62db\u65b9\u5f0f\u5b58\u5728\u4fe1\u606f\u4e0d\u5bf9\u79f0\u3001\u5339\u914d\u6548\u7387\u4f4e\u3001\u670d\u52a1\u8fc7\u7a0b\u96be\u8ffd\u6eaf\u7b49\u95ee\u9898\u3002\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5177\u6709\u5373\u7528\u5373\u8d70\u3001\u65e0\u9700\u5b89\u88c5\u3001\u4f20\u64ad\u6210\u672c\u4f4e\u7b49\u4f18\u52bf&#xff0c;\u9002\u5408\u4f5c\u4e3a\u7f51\u7ea6\u8f66\u4e1a\u52a1\u7684\u79fb\u52a8\u5165\u53e3\u3002\u672c\u6587\u56f4\u7ed5\u201c\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7f51\u7ea6\u8f66\u7cfb\u7edf\u201d\u5f00\u5c55\u9700\u6c42\u5206\u6790\u3001\u603b\u4f53\u8bbe\u8ba1\u3001\u6570\u636e\u5e93\u8bbe\u8ba1\u4e0e\u7cfb\u7edf\u5b9e\u73b0&#xff0c;\u6784\u5efa\u8986\u76d6\u4e58\u5ba2\u7aef\u3001\u53f8\u673a\u7aef\u4e0e\u7ba1\u7406\u540e\u53f0\u7684\u4e00\u4f53\u5316\u51fa\u884c\u670d\u52a1\u5e73\u53f0\u3002<\/p>\n<p style=\"text-align:justify\">\u7cfb\u7edf\u91c7\u7528\u524d\u540e\u7aef\u5206\u79bb\u67b6\u6784\u3002\u540e\u7aef\u57fa\u4e8eSpring Boot\u6784\u5efaRESTful\u63a5\u53e3&#xff0c;\u7ed3\u5408MyBatis-Plus\u5b8c\u6210\u6570\u636e\u6301\u4e45\u5316&#xff0c;\u4f7f\u7528JWT\u5b9e\u73b0\u591a\u7aef\u7edf\u4e00\u8eab\u4efd\u8ba4\u8bc1&#xff0c;\u5e76\u901a\u8fc7WebSocket\u5b8c\u6210\u8ba2\u5355\u5b9e\u65f6\u63a8\u9001\u4e0e\u72b6\u6001\u540c\u6b65&#xff1b;\u7ba1\u7406\u540e\u53f0\u91c7\u7528Vue3\u3001Vite\u3001Element Plus\u4e0eECharts\u5b9e\u73b0\u53ef\u89c6\u5316\u8fd0\u8425\u7ba1\u7406&#xff1b;\u4e58\u5ba2\u7aef\u4e0e\u53f8\u673a\u7aef\u5206\u522b\u4f7f\u7528\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u539f\u751f\u6280\u672f\u5f00\u53d1&#xff0c;\u5b8c\u6210\u5730\u56fe\u53eb\u8f66\u3001\u62a2\u5355\u63a5\u9a7e\u3001\u884c\u7a0b\u63a8\u8fdb\u3001\u4f59\u989d\u652f\u4ed8\u3001\u8bc4\u4ef7\u6295\u8bc9\u4e0e\u4e2a\u4eba\u4e2d\u5fc3\u7b49\u6838\u5fc3\u4e1a\u52a1\u3002\u6570\u636e\u5e93\u9009\u7528MySQL&#xff0c;\u5e93\u540d\u4e3adb_taxi&#xff0c;\u76f8\u5173\u4e1a\u52a1\u8868\u5747\u4ee5t_\u4e3a\u524d\u7f00\u8fdb\u884c\u89c4\u8303\u5316\u8bbe\u8ba1\u3002<\/p>\n<p style=\"text-align:justify\">\u8bba\u6587\u8be6\u7ec6\u7ed9\u51fa\u4e86\u7cfb\u7edf\u529f\u80fd\u7ed3\u6784\u56fe\u3001\u5b9e\u4f53\u5c5e\u6027\u56fe\u3001\u5b9e\u4f53\u5173\u7cfb\u56fe\u4e0e\u5173\u952e\u4e1a\u52a1\u65f6\u5e8f\u56fe&#xff0c;\u5e76\u5bf9\u6bcf\u4e2a\u6570\u636e\u8868\u5b57\u6bb5&#xff08;\u5b57\u6bb5\u540d\u3001\u7c7b\u578b\u3001\u957f\u5ea6\u3001\u662f\u5426\u4e3a\u7a7a\u3001\u5907\u6ce8&#xff09;\u8fdb\u884c\u4e86\u5b8c\u6574\u8bf4\u660e\u3002\u7cfb\u7edf\u5b9e\u73b0\u7ae0\u8282\u7ed3\u5408\u6838\u5fc3\u4ee3\u7801\u9610\u8ff0\u4e86\u767b\u5f55\u6ce8\u518c\u3001\u4ef7\u683c\u9884\u4f30\u3001\u4e0b\u5355\u6d3e\u5355\u3001\u5e76\u53d1\u62a2\u5355\u3001\u4f59\u989d\u652f\u4ed8\u3001\u53f8\u673a\u5ba1\u6838\u4e0e\u540e\u53f0\u7edf\u8ba1\u7b49\u5173\u952e\u6a21\u5757\u3002\u6d4b\u8bd5\u7ed3\u679c\u8868\u660e&#xff0c;\u7cfb\u7edf\u529f\u80fd\u5b8c\u6574\u3001\u6d41\u7a0b\u95ed\u73af&#xff0c;\u80fd\u591f\u6ee1\u8db3\u672c\u79d1\u6bd5\u4e1a\u8bbe\u8ba1\u5bf9\u5de5\u7a0b\u5b9e\u8df5\u4e0e\u6587\u6863\u89c4\u8303\u7684\u8981\u6c42&#xff0c;\u5bf9\u540c\u7c7b\u6821\u56ed\u6216\u533a\u57df\u51fa\u884c\u5e73\u53f0\u5efa\u8bbe\u5177\u6709\u4e00\u5b9a\u53c2\u8003\u4ef7\u503c\u3002<\/p>\n<h3>\u6e90\u7801\u4e0b\u8f7d<\/h3>\n<p>\u94fe\u63a5: https:\/\/pan.baidu.com\/s\/1aL90CVm2HeRnpSSug4Rt1Q?pwd&#061;1234 \u63d0\u53d6\u7801: 1234<\/p>\n<h3>\u7cfb\u7edf\u5c55\u793a <img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1000\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260813120116-6a7db20c32421.jpg\" width=\"1614\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1000\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260813120116-6a7db20cbcf20.jpg\" width=\"1614\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1000\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260813120117-6a7db20d534c7.jpg\" width=\"1250\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1000\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260813120117-6a7db20dafb54.jpg\" width=\"1250\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1000\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260813120118-6a7db20e16bcd.jpg\" width=\"1250\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"974\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260813120118-6a7db20e72bb5.jpg\" width=\"1602\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1081\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260813120119-6a7db20f06738.jpg\" width=\"1604\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1078\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260813120119-6a7db20f9a1dd.jpg\" width=\"1599\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1084\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260813120120-6a7db2103f907.jpg\" width=\"1600\" \/><\/h3>\n<h3>\u6838\u5fc3\u4ee3\u7801<\/h3>\n<p>package com.taxi.controller.app;<\/p>\n<p>import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;<br \/>\nimport com.taxi.common.Constants;<br \/>\nimport com.taxi.common.Result;<br \/>\nimport com.taxi.dto.*;<br \/>\nimport com.taxi.entity.*;<br \/>\nimport com.taxi.interceptor.JwtTokenInterceptor;<br \/>\nimport com.taxi.mapper.*;<br \/>\nimport com.taxi.service.DriverService;<br \/>\nimport com.taxi.service.OrderService;<br \/>\nimport com.taxi.utils.FileUploadUtil;<br \/>\nimport com.taxi.vo.LoginVO;<br \/>\nimport com.taxi.vo.OrderDetailVO;<br \/>\nimport jakarta.servlet.http.HttpServletRequest;<br \/>\nimport org.springframework.beans.factory.annotation.Autowired;<br \/>\nimport org.springframework.web.bind.annotation.*;<br \/>\nimport org.springframework.web.multipart.MultipartFile;<\/p>\n<p>import java.util.List;<\/p>\n<p>\/**<br \/>\n * \u53f8\u673a\u7aef\u5c0f\u7a0b\u5e8f\u63a7\u5236\u5668<br \/>\n *<br \/>\n * &#064;author taxi<br \/>\n *\/<br \/>\n&#064;RestController<br \/>\n&#064;RequestMapping(&#034;\/app\/driver&#034;)<br \/>\npublic class AppDriverController {<\/p>\n<p>    &#064;Autowired<br \/>\n    private DriverService driverService;<br \/>\n    &#064;Autowired<br \/>\n    private OrderService orderService;<br \/>\n    &#064;Autowired<br \/>\n    private VehicleMapper vehicleMapper;<br \/>\n    &#064;Autowired<br \/>\n    private CarTypeMapper carTypeMapper;<br \/>\n    &#064;Autowired<br \/>\n    private BalanceRecordMapper balanceRecordMapper;<br \/>\n    &#064;Autowired<br \/>\n    private FileUploadUtil fileUploadUtil;<\/p>\n<p>    \/** \u53f8\u673a\u767b\u5f55 *\/<br \/>\n    &#064;PostMapping(&#034;\/login&#034;)<br \/>\n    public Result&lt;LoginVO&gt; login(&#064;RequestBody LoginDTO dto) {<br \/>\n        return Result.success(driverService.login(dto));<br \/>\n    }<\/p>\n<p>    \/** \u53f8\u673a\u6ce8\u518c&#xff08;\u5165\u9a7b\u7533\u8bf7&#xff09; *\/<br \/>\n    &#064;PostMapping(&#034;\/register&#034;)<br \/>\n    public Result&lt;Void&gt; register(&#064;RequestBody DriverRegisterDTO dto) {<br \/>\n        driverService.register(dto);<br \/>\n        return Result.success();<br \/>\n    }<\/p>\n<p>    \/** \u83b7\u53d6\u4e2a\u4eba\u4fe1\u606f *\/<br \/>\n    &#064;GetMapping(&#034;\/info&#034;)<br \/>\n    public Result&lt;Driver&gt; info(HttpServletRequest request) {<br \/>\n        Long id &#061; (Long) request.getAttribute(JwtTokenInterceptor.ATTR_USER_ID);<br \/>\n        return Result.success(driverService.getInfo(id));<br \/>\n    }<\/p>\n<p>    \/** \u4fee\u6539\u8d44\u6599 *\/<br \/>\n    &#064;PutMapping(&#034;\/profile&#034;)<br \/>\n    public Result&lt;Void&gt; updateProfile(HttpServletRequest request, &#064;RequestBody Driver driver) {<br \/>\n        Long id &#061; (Long) request.getAttribute(JwtTokenInterceptor.ATTR_USER_ID);<br \/>\n        driverService.updateProfile(id, driver);<br \/>\n        return Result.success();<br \/>\n    }<\/p>\n<p>    \/** \u4fee\u6539\u5bc6\u7801 *\/<br \/>\n    &#064;PutMapping(&#034;\/password&#034;)<br \/>\n    public Result&lt;Void&gt; updatePassword(HttpServletRequest request, &#064;RequestBody PasswordDTO dto) {<br \/>\n        Long id &#061; (Long) request.getAttribute(JwtTokenInterceptor.ATTR_USER_ID);<br \/>\n        driverService.updatePassword(id, dto);<br \/>\n        return Result.success();<br \/>\n    }<\/p>\n<p>    \/** \u4e0a\u4f20\u5934\u50cf *\/<br \/>\n    &#064;PostMapping(&#034;\/upload&#034;)<br \/>\n    public Result&lt;String&gt; upload(&#064;RequestParam(&#034;file&#034;) MultipartFile file) {<br \/>\n        return Result.success(fileUploadUtil.upload(file));<br \/>\n    }<\/p>\n<p>    \/** \u5207\u6362\u5de5\u4f5c\u72b6\u6001&#xff08;\u4e0a\u7ebf\/\u4e0b\u7ebf&#xff09; *\/<br \/>\n    &#064;PutMapping(&#034;\/workStatus&#034;)<br \/>\n    public Result&lt;Void&gt; toggleWorkStatus(HttpServletRequest request, &#064;RequestParam Integer workStatus) {<br \/>\n        Long id &#061; (Long) request.getAttribute(JwtTokenInterceptor.ATTR_USER_ID);<br \/>\n        driverService.toggleWorkStatus(id, workStatus);<br \/>\n        return Result.success();<br \/>\n    }<\/p>\n<p>    \/** \u83b7\u53d6\u8f66\u8f86\u4fe1\u606f *\/<br \/>\n    &#064;GetMapping(&#034;\/vehicle&#034;)<br \/>\n    public Result&lt;Vehicle&gt; vehicle(HttpServletRequest request) {<br \/>\n        Long id &#061; (Long) request.getAttribute(JwtTokenInterceptor.ATTR_USER_ID);<br \/>\n        Vehicle vehicle &#061; vehicleMapper.selectOne(new LambdaQueryWrapper&lt;Vehicle&gt;()<br \/>\n                .eq(Vehicle::getDriverId, id));<br \/>\n        return Result.success(vehicle);<br \/>\n    }<\/p>\n<p>    \/** \u5f85\u63a5\u8ba2\u5355\u5217\u8868 *\/<br \/>\n    &#064;GetMapping(&#034;\/orders\/pending&#034;)<br \/>\n    public Result&lt;List&lt;OrderDetailVO&gt;&gt; pendingOrders() {<br \/>\n        return Result.success(orderService.pendingOrders());<br \/>\n    }<\/p>\n<p>    \/** \u62a2\u5355 *\/<br \/>\n    &#064;PostMapping(&#034;\/order\/accept\/{id}&#034;)<br \/>\n    public Result&lt;Void&gt; acceptOrder(HttpServletRequest request, &#064;PathVariable Long id) {<br \/>\n        Long driverId &#061; (Long) request.getAttribute(JwtTokenInterceptor.ATTR_USER_ID);<br \/>\n        orderService.acceptOrder(driverId, id);<br \/>\n        return Result.success();<br \/>\n    }<\/p>\n<p>    \/** \u5230\u8fbe\u4e58\u5ba2\u4f4d\u7f6e *\/<br \/>\n    &#064;PostMapping(&#034;\/order\/arrive\/{id}&#034;)<br \/>\n    public Result&lt;Void&gt; arriveOrder(HttpServletRequest request, &#064;PathVariable Long id) {<br \/>\n        Long driverId &#061; (Long) request.getAttribute(JwtTokenInterceptor.ATTR_USER_ID);<br \/>\n        orderService.arriveOrder(driverId, id);<br \/>\n        return Result.success();<br \/>\n    }<\/p>\n<p>    \/** \u5f00\u59cb\u884c\u7a0b *\/<br \/>\n    &#064;PostMapping(&#034;\/order\/start\/{id}&#034;)<br \/>\n    public Result&lt;Void&gt; startTrip(HttpServletRequest request, &#064;PathVariable Long id) {<br \/>\n        Long driverId &#061; (Long) request.getAttribute(JwtTokenInterceptor.ATTR_USER_ID);<br \/>\n        orderService.startTrip(driverId, id);<br \/>\n        return Result.success();<br \/>\n    }<\/p>\n<p>    \/** \u7ed3\u675f\u884c\u7a0b *\/<br \/>\n    &#064;PostMapping(&#034;\/order\/end\/{id}&#034;)<br \/>\n    public Result&lt;Void&gt; endTrip(HttpServletRequest request, &#064;PathVariable Long id) {<br \/>\n        Long driverId &#061; (Long) request.getAttribute(JwtTokenInterceptor.ATTR_USER_ID);<br \/>\n        orderService.endTrip(driverId, id);<br \/>\n        return Result.success();<br \/>\n    }<\/p>\n<p>    \/** \u6211\u7684\u8ba2\u5355\u5217\u8868 *\/<br \/>\n    &#064;GetMapping(&#034;\/orders&#034;)<br \/>\n    public Result&lt;List&lt;OrderDetailVO&gt;&gt; orders(HttpServletRequest request,<br \/>\n                                              &#064;RequestParam(required &#061; false) Integer status) {<br \/>\n        Long id &#061; (Long) request.getAttribute(JwtTokenInterceptor.ATTR_USER_ID);<br \/>\n        return Result.success(orderService.driverOrders(id, status));<br \/>\n    }<\/p>\n<p>    \/** \u8ba2\u5355\u8be6\u60c5 *\/<br \/>\n    &#064;GetMapping(&#034;\/order\/{id}&#034;)<br \/>\n    public Result&lt;OrderDetailVO&gt; orderDetail(&#064;PathVariable Long id) {<br \/>\n        return Result.success(orderService.getOrderDetail(id));<br \/>\n    }<\/p>\n<p>    \/** \u6536\u5165\u6d41\u6c34 *\/<br \/>\n    &#064;GetMapping(&#034;\/incomeRecords&#034;)<br \/>\n    public Result&lt;List&lt;BalanceRecord&gt;&gt; incomeRecords(HttpServletRequest request) {<br \/>\n        Long id &#061; (Long) request.getAttribute(JwtTokenInterceptor.ATTR_USER_ID);<br \/>\n        List&lt;BalanceRecord&gt; records &#061; balanceRecordMapper.selectList(<br \/>\n                new LambdaQueryWrapper&lt;BalanceRecord&gt;()<br \/>\n                        .eq(BalanceRecord::getUserId, id)<br \/>\n                        .eq(BalanceRecord::getUserType, Constants.USER_TYPE_DRIVER)<br \/>\n                        .orderByDesc(BalanceRecord::getCreateTime));<br \/>\n        return Result.success(records);<br \/>\n    }<br \/>\n}<\/p>\n<p>&lt;template&gt;<br \/>\n  &lt;div class&#061;&#034;page-container&#034;&gt;<br \/>\n    &lt;!&#8211; \u7edf\u8ba1\u5361\u7247 &#8211;&gt;<br \/>\n    &lt;el-row :gutter&#061;&#034;20&#034; style&#061;&#034;margin-bottom: 20px&#034;&gt;<br \/>\n      &lt;el-col :span&#061;&#034;6&#034;&gt;<br \/>\n        &lt;div class&#061;&#034;stat-card&#034;&gt;<br \/>\n          &lt;div class&#061;&#034;stat-label&#034;&gt;\u8ba2\u5355\u603b\u6570&lt;\/div&gt;<br \/>\n          &lt;div class&#061;&#034;stat-value&#034;&gt;{{ data.totalOrders || 0 }}&lt;\/div&gt;<br \/>\n        &lt;\/div&gt;<br \/>\n      &lt;\/el-col&gt;<br \/>\n      &lt;el-col :span&#061;&#034;6&#034;&gt;<br \/>\n        &lt;div class&#061;&#034;stat-card green&#034;&gt;<br \/>\n          &lt;div class&#061;&#034;stat-label&#034;&gt;\u4e58\u5ba2\u603b\u6570&lt;\/div&gt;<br \/>\n          &lt;div class&#061;&#034;stat-value&#034;&gt;{{ data.totalPassengers || 0 }}&lt;\/div&gt;<br \/>\n        &lt;\/div&gt;<br \/>\n      &lt;\/el-col&gt;<br \/>\n      &lt;el-col :span&#061;&#034;6&#034;&gt;<br \/>\n        &lt;div class&#061;&#034;stat-card orange&#034;&gt;<br \/>\n          &lt;div class&#061;&#034;stat-label&#034;&gt;\u53f8\u673a\u603b\u6570&lt;\/div&gt;<br \/>\n          &lt;div class&#061;&#034;stat-value&#034;&gt;{{ data.totalDrivers || 0 }}&lt;\/div&gt;<br \/>\n        &lt;\/div&gt;<br \/>\n      &lt;\/el-col&gt;<br \/>\n      &lt;el-col :span&#061;&#034;6&#034;&gt;<br \/>\n        &lt;div class&#061;&#034;stat-card blue&#034;&gt;<br \/>\n          &lt;div class&#061;&#034;stat-label&#034;&gt;\u603b\u8425\u6536(\u5143)&lt;\/div&gt;<br \/>\n          &lt;div class&#061;&#034;stat-value&#034;&gt;{{ data.totalRevenue || 0 }}&lt;\/div&gt;<br \/>\n        &lt;\/div&gt;<br \/>\n      &lt;\/el-col&gt;<br \/>\n    &lt;\/el-row&gt;<\/p>\n<p>    &lt;!&#8211; \u56fe\u8868\u533a\u57df &#8211;&gt;<br \/>\n    &lt;el-row :gutter&#061;&#034;20&#034;&gt;<br \/>\n      &lt;el-col :span&#061;&#034;12&#034;&gt;<br \/>\n        &lt;div class&#061;&#034;chart-card&#034;&gt;<br \/>\n          &lt;h3&gt;\u8fd17\u65e5\u8ba2\u5355\u91cf&lt;\/h3&gt;<br \/>\n          &lt;div ref&#061;&#034;orderChartRef&#034; style&#061;&#034;height: 300px&#034;&gt;&lt;\/div&gt;<br \/>\n        &lt;\/div&gt;<br \/>\n      &lt;\/el-col&gt;<br \/>\n      &lt;el-col :span&#061;&#034;12&#034;&gt;<br \/>\n        &lt;div class&#061;&#034;chart-card&#034;&gt;<br \/>\n          &lt;h3&gt;\u8fd17\u65e5\u8425\u6536&lt;\/h3&gt;<br \/>\n          &lt;div ref&#061;&#034;revenueChartRef&#034; style&#061;&#034;height: 300px&#034;&gt;&lt;\/div&gt;<br \/>\n        &lt;\/div&gt;<br \/>\n      &lt;\/el-col&gt;<br \/>\n    &lt;\/el-row&gt;<br \/>\n    &lt;el-row :gutter&#061;&#034;20&#034;&gt;<br \/>\n      &lt;el-col :span&#061;&#034;12&#034;&gt;<br \/>\n        &lt;div class&#061;&#034;chart-card&#034;&gt;<br \/>\n          &lt;h3&gt;\u8ba2\u5355\u72b6\u6001\u5206\u5e03&lt;\/h3&gt;<br \/>\n          &lt;div ref&#061;&#034;statusChartRef&#034; style&#061;&#034;height: 300px&#034;&gt;&lt;\/div&gt;<br \/>\n        &lt;\/div&gt;<br \/>\n      &lt;\/el-col&gt;<br \/>\n      &lt;el-col :span&#061;&#034;12&#034;&gt;<br \/>\n        &lt;div class&#061;&#034;chart-card&#034;&gt;<br \/>\n          &lt;h3&gt;\u53f8\u673a\u63a5\u5355\u6392\u884c&lt;\/h3&gt;<br \/>\n          &lt;div ref&#061;&#034;rankChartRef&#034; style&#061;&#034;height: 300px&#034;&gt;&lt;\/div&gt;<br \/>\n        &lt;\/div&gt;<br \/>\n      &lt;\/el-col&gt;<br \/>\n    &lt;\/el-row&gt;<br \/>\n  &lt;\/div&gt;<br \/>\n&lt;\/template&gt;<\/p>\n<p>&lt;script setup&gt;<br \/>\nimport { ref, onMounted, onUnmounted } from &#039;vue&#039;<br \/>\nimport * as echarts from &#039;echarts&#039;<br \/>\nimport request from &#039;&#064;\/utils\/request&#039;<br \/>\nimport { orderStatusMap } from &#039;&#064;\/utils\/date&#039;<\/p>\n<p>const data &#061; ref({})<br \/>\nconst orderChartRef &#061; ref(null)<br \/>\nconst revenueChartRef &#061; ref(null)<br \/>\nconst statusChartRef &#061; ref(null)<br \/>\nconst rankChartRef &#061; ref(null)<br \/>\nlet charts &#061; []<\/p>\n<p>\/** \u52a0\u8f7d\u7edf\u8ba1\u6570\u636e\u5e76\u6e32\u67d3\u56fe\u8868 *\/<br \/>\nasync function loadData() {<br \/>\n  const res &#061; await request.get(&#039;\/admin\/stat\/dashboard&#039;)<br \/>\n  data.value &#061; res.data<\/p>\n<p>  \/\/ \u8fd17\u65e5\u8ba2\u5355\u6298\u7ebf\u56fe<br \/>\n  const orderChart &#061; echarts.init(orderChartRef.value)<br \/>\n  const dailyOrders &#061; res.data.dailyOrders || []<br \/>\n  orderChart.setOption({<br \/>\n    tooltip: { trigger: &#039;axis&#039; },<br \/>\n    xAxis: { type: &#039;category&#039;, data: dailyOrders.map(i &#061;&gt; i.date) },<br \/>\n    yAxis: { type: &#039;value&#039;, minInterval: 1 },<br \/>\n    series: [{ type: &#039;line&#039;, data: dailyOrders.map(i &#061;&gt; i.count), smooth: true, areaStyle: { opacity: 0.3 }, itemStyle: { color: &#039;#667eea&#039; } }]<br \/>\n  })<br \/>\n  charts.push(orderChart)<\/p>\n<p>  \/\/ \u8fd17\u65e5\u8425\u6536\u67f1\u72b6\u56fe<br \/>\n  const revenueChart &#061; echarts.init(revenueChartRef.value)<br \/>\n  const dailyRevenue &#061; res.data.dailyRevenue || []<br \/>\n  revenueChart.setOption({<br \/>\n    tooltip: { trigger: &#039;axis&#039; },<br \/>\n    xAxis: { type: &#039;category&#039;, data: dailyRevenue.map(i &#061;&gt; i.date) },<br \/>\n    yAxis: { type: &#039;value&#039; },<br \/>\n    series: [{ type: &#039;bar&#039;, data: dailyRevenue.map(i &#061;&gt; i.amount), itemStyle: { color: &#039;#11998e&#039;, borderRadius: [4, 4, 0, 0] } }]<br \/>\n  })<br \/>\n  charts.push(revenueChart)<\/p>\n<p>  \/\/ \u8ba2\u5355\u72b6\u6001\u997c\u56fe<br \/>\n  const statusChart &#061; echarts.init(statusChartRef.value)<br \/>\n  const statusData &#061; (res.data.orderStatusDistribution || []).map(i &#061;&gt; ({<br \/>\n    name: orderStatusMap[i.status] || &#039;\u672a\u77e5&#039;, value: i.count<br \/>\n  }))<br \/>\n  statusChart.setOption({<br \/>\n    tooltip: { trigger: &#039;item&#039; },<br \/>\n    legend: { bottom: 0 },<br \/>\n    series: [{ type: &#039;pie&#039;, radius: [&#039;40%&#039;, &#039;70%&#039;], data: statusData, emphasis: { itemStyle: { shadowBlur: 10 } } }]<br \/>\n  })<br \/>\n  charts.push(statusChart)<\/p>\n<p>  \/\/ \u53f8\u673a\u6392\u884c\u6a2a\u5411\u67f1\u72b6\u56fe<br \/>\n  const rankChart &#061; echarts.init(rankChartRef.value)<br \/>\n  const ranking &#061; res.data.driverRanking || []<br \/>\n  rankChart.setOption({<br \/>\n    tooltip: { trigger: &#039;axis&#039; },<br \/>\n    yAxis: { type: &#039;category&#039;, data: ranking.map(i &#061;&gt; i.driverName).reverse() },<br \/>\n    xAxis: { type: &#039;value&#039;, minInterval: 1 },<br \/>\n    series: [{ type: &#039;bar&#039;, data: ranking.map(i &#061;&gt; i.orderCount).reverse(), itemStyle: { color: &#039;#f5576c&#039;, borderRadius: [0, 4, 4, 0] } }]<br \/>\n  })<br \/>\n  charts.push(rankChart)<br \/>\n}<\/p>\n<p>onMounted(() &#061;&gt; loadData())<br \/>\nonUnmounted(() &#061;&gt; charts.forEach(c &#061;&gt; c.dispose()))<br \/>\n&lt;\/script&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u597d&#xff0c;\u6211\u662fJava1234_\u5c0f\u950b\u8001\u5e08&#xff0c;\u5206\u4eab\u4e00\u5957\u950b\u54e5\u539f\u521b\u7684\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7f51\u7ea6\u8f66(\u6253\u8f66&#xff0c;\u5728\u7ebf\u53eb\u8f66&#xff0c;\u79fb\u52a8\u51fa\u884c)\u7cfb\u7edf(SpringBoot4Vue3)\u3002 \u9879\u76ee\u4ecb\u7ecd<br \/>\n\u968f\u7740\u79fb\u52a8\u4e92\u8054\u7f51\u4e0e\u5171\u4eab\u51fa\u884c\u6a21\u5f0f\u7684\u5feb\u901f\u53d1\u5c55&#xff0c;\u7f51\u7ea6\u8f66\u5df2\u6210\u4e3a\u57ce\u5e02\u5c45\u6c11\u65e5\u5e38\u51fa\u884c\u7684\u91cd\u8981\u65b9\u5f0f\u3002\u4f20\u7edf\u7535\u8bdd\u53ec\u8f66\u6216\u8def\u8fb9\u626c\u62db\u65b9\u5f0f\u5b58\u5728\u4fe1\u606f\u4e0d\u5bf9\u79f0\u3001\u5339\u914d\u6548\u7387\u4f4e\u3001\u670d\u52a1\u8fc7\u7a0b\u96be\u8ffd\u6eaf\u7b49\u95ee\u9898\u3002\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5177\u6709\u5373\u7528\u5373\u8d70\u3001\u65e0\u9700\u5b89\u88c5\u3001\u4f20\u64ad\u6210\u672c\u4f4e\u7b49\u4f18\u52bf&#xff0c;\u9002\u5408\u4f5c\u4e3a\u7f51\u7ea6\u8f66\u4e1a\u52a1\u7684\u79fb\u52a8\u5165\u53e3\u3002\u672c<\/p>\n","protected":false},"author":2,"featured_media":94110,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10780,10781,10779,555],"topic":[],"class_list":["post-94120","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-10780","tag-10781","tag-10779","tag-555"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u514d\u8d39\u3011\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7f51\u7ea6\u8f66(\u6253\u8f66\uff0c\u5728\u7ebf\u53eb\u8f66\uff0c\u79fb\u52a8\u51fa\u884c)\u7cfb\u7edf(SpringBoot4+Vue3) \u950b\u54e5\u539f\u521b\u51fa\u54c1\uff0c\u5fc5\u5c5e\u7cbe\u54c1 - \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\/94120.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u514d\u8d39\u3011\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7f51\u7ea6\u8f66(\u6253\u8f66\uff0c\u5728\u7ebf\u53eb\u8f66\uff0c\u79fb\u52a8\u51fa\u884c)\u7cfb\u7edf(SpringBoot4+Vue3) \u950b\u54e5\u539f\u521b\u51fa\u54c1\uff0c\u5fc5\u5c5e\u7cbe\u54c1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5927\u5bb6\u597d&#xff0c;\u6211\u662fJava1234_\u5c0f\u950b\u8001\u5e08&#xff0c;\u5206\u4eab\u4e00\u5957\u950b\u54e5\u539f\u521b\u7684\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7f51\u7ea6\u8f66(\u6253\u8f66&#xff0c;\u5728\u7ebf\u53eb\u8f66&#xff0c;\u79fb\u52a8\u51fa\u884c)\u7cfb\u7edf(SpringBoot4Vue3)\u3002 \u9879\u76ee\u4ecb\u7ecd \u968f\u7740\u79fb\u52a8\u4e92\u8054\u7f51\u4e0e\u5171\u4eab\u51fa\u884c\u6a21\u5f0f\u7684\u5feb\u901f\u53d1\u5c55&#xff0c;\u7f51\u7ea6\u8f66\u5df2\u6210\u4e3a\u57ce\u5e02\u5c45\u6c11\u65e5\u5e38\u51fa\u884c\u7684\u91cd\u8981\u65b9\u5f0f\u3002\u4f20\u7edf\u7535\u8bdd\u53ec\u8f66\u6216\u8def\u8fb9\u626c\u62db\u65b9\u5f0f\u5b58\u5728\u4fe1\u606f\u4e0d\u5bf9\u79f0\u3001\u5339\u914d\u6548\u7387\u4f4e\u3001\u670d\u52a1\u8fc7\u7a0b\u96be\u8ffd\u6eaf\u7b49\u95ee\u9898\u3002\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5177\u6709\u5373\u7528\u5373\u8d70\u3001\u65e0\u9700\u5b89\u88c5\u3001\u4f20\u64ad\u6210\u672c\u4f4e\u7b49\u4f18\u52bf&#xff0c;\u9002\u5408\u4f5c\u4e3a\u7f51\u7ea6\u8f66\u4e1a\u52a1\u7684\u79fb\u52a8\u5165\u53e3\u3002\u672c\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/94120.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-13T12:01:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260813120115-6a7db20b608ea.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=\"6 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/94120.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/94120.html\",\"name\":\"\u3010\u514d\u8d39\u3011\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7f51\u7ea6\u8f66(\u6253\u8f66\uff0c\u5728\u7ebf\u53eb\u8f66\uff0c\u79fb\u52a8\u51fa\u884c)\u7cfb\u7edf(SpringBoot4+Vue3) \u950b\u54e5\u539f\u521b\u51fa\u54c1\uff0c\u5fc5\u5c5e\u7cbe\u54c1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-13T12:01:21+00:00\",\"dateModified\":\"2026-08-13T12:01:21+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/94120.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/94120.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/94120.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u514d\u8d39\u3011\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7f51\u7ea6\u8f66(\u6253\u8f66\uff0c\u5728\u7ebf\u53eb\u8f66\uff0c\u79fb\u52a8\u51fa\u884c)\u7cfb\u7edf(SpringBoot4+Vue3) \u950b\u54e5\u539f\u521b\u51fa\u54c1\uff0c\u5fc5\u5c5e\u7cbe\u54c1\"}]},{\"@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":"\u3010\u514d\u8d39\u3011\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7f51\u7ea6\u8f66(\u6253\u8f66\uff0c\u5728\u7ebf\u53eb\u8f66\uff0c\u79fb\u52a8\u51fa\u884c)\u7cfb\u7edf(SpringBoot4+Vue3) \u950b\u54e5\u539f\u521b\u51fa\u54c1\uff0c\u5fc5\u5c5e\u7cbe\u54c1 - \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\/94120.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010\u514d\u8d39\u3011\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7f51\u7ea6\u8f66(\u6253\u8f66\uff0c\u5728\u7ebf\u53eb\u8f66\uff0c\u79fb\u52a8\u51fa\u884c)\u7cfb\u7edf(SpringBoot4+Vue3) \u950b\u54e5\u539f\u521b\u51fa\u54c1\uff0c\u5fc5\u5c5e\u7cbe\u54c1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5927\u5bb6\u597d&#xff0c;\u6211\u662fJava1234_\u5c0f\u950b\u8001\u5e08&#xff0c;\u5206\u4eab\u4e00\u5957\u950b\u54e5\u539f\u521b\u7684\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7f51\u7ea6\u8f66(\u6253\u8f66&#xff0c;\u5728\u7ebf\u53eb\u8f66&#xff0c;\u79fb\u52a8\u51fa\u884c)\u7cfb\u7edf(SpringBoot4Vue3)\u3002 \u9879\u76ee\u4ecb\u7ecd \u968f\u7740\u79fb\u52a8\u4e92\u8054\u7f51\u4e0e\u5171\u4eab\u51fa\u884c\u6a21\u5f0f\u7684\u5feb\u901f\u53d1\u5c55&#xff0c;\u7f51\u7ea6\u8f66\u5df2\u6210\u4e3a\u57ce\u5e02\u5c45\u6c11\u65e5\u5e38\u51fa\u884c\u7684\u91cd\u8981\u65b9\u5f0f\u3002\u4f20\u7edf\u7535\u8bdd\u53ec\u8f66\u6216\u8def\u8fb9\u626c\u62db\u65b9\u5f0f\u5b58\u5728\u4fe1\u606f\u4e0d\u5bf9\u79f0\u3001\u5339\u914d\u6548\u7387\u4f4e\u3001\u670d\u52a1\u8fc7\u7a0b\u96be\u8ffd\u6eaf\u7b49\u95ee\u9898\u3002\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5177\u6709\u5373\u7528\u5373\u8d70\u3001\u65e0\u9700\u5b89\u88c5\u3001\u4f20\u64ad\u6210\u672c\u4f4e\u7b49\u4f18\u52bf&#xff0c;\u9002\u5408\u4f5c\u4e3a\u7f51\u7ea6\u8f66\u4e1a\u52a1\u7684\u79fb\u52a8\u5165\u53e3\u3002\u672c","og_url":"https:\/\/www.wsisp.com\/helps\/94120.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-13T12:01:21+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260813120115-6a7db20b608ea.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"6 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/94120.html","url":"https:\/\/www.wsisp.com\/helps\/94120.html","name":"\u3010\u514d\u8d39\u3011\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7f51\u7ea6\u8f66(\u6253\u8f66\uff0c\u5728\u7ebf\u53eb\u8f66\uff0c\u79fb\u52a8\u51fa\u884c)\u7cfb\u7edf(SpringBoot4+Vue3) \u950b\u54e5\u539f\u521b\u51fa\u54c1\uff0c\u5fc5\u5c5e\u7cbe\u54c1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-13T12:01:21+00:00","dateModified":"2026-08-13T12:01:21+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/94120.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/94120.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/94120.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010\u514d\u8d39\u3011\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7f51\u7ea6\u8f66(\u6253\u8f66\uff0c\u5728\u7ebf\u53eb\u8f66\uff0c\u79fb\u52a8\u51fa\u884c)\u7cfb\u7edf(SpringBoot4+Vue3) \u950b\u54e5\u539f\u521b\u51fa\u54c1\uff0c\u5fc5\u5c5e\u7cbe\u54c1"}]},{"@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\/94120","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=94120"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/94120\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/94110"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=94120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=94120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=94120"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=94120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}