From 73664fba9c0803fdb14451986e82bb0e79cdd8df Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期五, 18 四月 2025 10:28:47 +0800
Subject: [PATCH] 告警实时推送和日志修改

---
 src/main/java/com/whyc/controller/LockCtlLogController.java |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/whyc/controller/LockCtlLogController.java b/src/main/java/com/whyc/controller/LockCtlLogController.java
index 7515d11..c20cbe7 100644
--- a/src/main/java/com/whyc/controller/LockCtlLogController.java
+++ b/src/main/java/com/whyc/controller/LockCtlLogController.java
@@ -1,7 +1,13 @@
 package com.whyc.controller;
 
+import com.whyc.dto.LockAlmDto;
+import com.whyc.dto.LocklogDto;
+import com.whyc.dto.Response;
+import com.whyc.pojo.plus_user.UserInf;
 import com.whyc.service.LockCtlLogService;
+import com.whyc.util.ActionUtil;
 import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
 
@@ -12,4 +18,14 @@
     @Autowired
     private LockCtlLogService service;
 
+
+    @ApiOperation("鏌ヨ寮�閿佹棩蹇�")
+    @PostMapping("getLockLog")
+    public Response getLockLog(@RequestBody LocklogDto logDto) {
+        UserInf uinf= ActionUtil.getUser();
+        logDto.setUid(uinf.getUid());
+        Response res=service.getLockLog(logDto);
+        return res;
+    }
+
 }
\ No newline at end of file

--
Gitblit v1.9.1