From ebedf7cee35a1131b3c5d180be5676249a87c252 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 26 三月 2025 09:29:43 +0800
Subject: [PATCH] 优化

---
 server/visits/dmvisit_admin/src/main/java/com/doumee/cloud/admin/VisitsCloudController.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/visits/dmvisit_admin/src/main/java/com/doumee/cloud/admin/VisitsCloudController.java b/server/visits/dmvisit_admin/src/main/java/com/doumee/cloud/admin/VisitsCloudController.java
index a635e08..af20c8f 100644
--- a/server/visits/dmvisit_admin/src/main/java/com/doumee/cloud/admin/VisitsCloudController.java
+++ b/server/visits/dmvisit_admin/src/main/java/com/doumee/cloud/admin/VisitsCloudController.java
@@ -51,7 +51,7 @@
     @GetMapping("/delete/{id}")
     @CloudRequiredPermission("business:visits:delete")
     public ApiResponse deleteById(@PathVariable Integer id,@RequestHeader(Constants.HEADER_USER_TOKEN) String token){
-        visitsService.deleteById(id);
+        visitsService.deleteById(id,this.getLoginUser(token));
         return ApiResponse.success(null);
     }
 

--
Gitblit v1.9.3