From 7de1396e315896dbc72a9d54e44f77434ea90f18 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期日, 14 十二月 2025 23:47:34 +0800
Subject: [PATCH] feat:增加企业微信自动登录
---
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