From af8cab142a6b15c06e131a8474574dd5b00df982 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期四, 04 十二月 2025 22:09:58 +0800
Subject: [PATCH] feat: 改造微信accesstoken存放在系统配置表中

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/VehicleInfoController.java |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/VehicleInfoController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/VehicleInfoController.java
index d0c6d76..253d262 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/VehicleInfoController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/VehicleInfoController.java
@@ -36,7 +36,6 @@
     /**
      * 鏌ヨ杞﹁締淇℃伅鍒楄〃
      */
-    @PreAuthorize("@ss.hasPermi('system:vehicle:list')")
     @GetMapping("/list")
     public TableDataInfo list(VehicleInfo vehicleInfo) {
         startPage();
@@ -47,7 +46,6 @@
     /**
      * 瀵煎嚭杞﹁締淇℃伅鍒楄〃
      */
-    @PreAuthorize("@ss.hasPermi('system:vehicle:export')")
     @Log(title = "杞﹁締淇℃伅", businessType = BusinessType.EXPORT)
     @GetMapping("/export")
     public AjaxResult export(VehicleInfo vehicleInfo) {
@@ -59,16 +57,14 @@
     /**
      * 鑾峰彇杞﹁締淇℃伅璇︾粏淇℃伅
      */
-    @PreAuthorize("@ss.hasPermi('system:vehicle:query')")
     @GetMapping(value = "/{vehicleId}")
     public AjaxResult getInfo(@PathVariable("vehicleId") Long vehicleId) {
-        return success(vehicleInfoService.selectVehicleInfoById(vehicleId));
+        return success(vehicleInfoService.selectVehicleInfoWithDeptsById(vehicleId));
     }
 
     /**
      * 鏂板杞﹁締淇℃伅
      */
-    @PreAuthorize("@ss.hasPermi('system:vehicle:add')")
     @Log(title = "杞﹁締淇℃伅", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody VehicleInfo vehicleInfo) {
@@ -78,7 +74,6 @@
     /**
      * 淇敼杞﹁締淇℃伅
      */
-    @PreAuthorize("@ss.hasPermi('system:vehicle:edit')")
     @Log(title = "杞﹁締淇℃伅", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@RequestBody VehicleInfo vehicleInfo) {
@@ -88,7 +83,6 @@
     /**
      * 鍒犻櫎杞﹁締淇℃伅
      */
-    @PreAuthorize("@ss.hasPermi('system:vehicle:remove')")
     @Log(title = "杞﹁締淇℃伅", businessType = BusinessType.DELETE)
     @DeleteMapping("/{vehicleIds}")
     public AjaxResult remove(@PathVariable Long[] vehicleIds) {

--
Gitblit v1.9.1