From a7fef2846505b08e0711345b17902e7381612d23 Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期二, 25 三月 2025 14:02:16 +0800
Subject: [PATCH] 查询锁的蓝牙开启时间段记录添加area_path

---
 src/main/java/com/whyc/controller/KeyInfController.java |   23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/whyc/controller/KeyInfController.java b/src/main/java/com/whyc/controller/KeyInfController.java
index 347dd1f..4df8d8a 100644
--- a/src/main/java/com/whyc/controller/KeyInfController.java
+++ b/src/main/java/com/whyc/controller/KeyInfController.java
@@ -22,17 +22,29 @@
         return service.getAllKeyInf(keyName,uname,pageNum,pageSize);
     }
 
+    @ApiOperation(value = "鏌ヨ鎵�鏈夐挜鍖欏悕淇℃伅(鐢ㄤ簬涓嬫媺)")
+    @GetMapping("getkinf")
+    public Response getkinf(){
+        return service.getkinf();
+    }
+
+    @ApiOperation(value = "鎺堟潈鏃舵煡璇㈡墍鏈夐挜鍖欎俊鎭�(涓嶅垎椤�)")
+    @GetMapping("getKeyInfAuth")
+    public Response getKeyInfAuth(){
+        return service.getKeyInfAuth();
+    }
+
     @ApiOperation(value = "娣诲姞閽ュ寵")
-    @PostMapping("addKeyk")
-    public Response addKeyk(@RequestBody KeyInf kinf){
-        return service.addKeyk(kinf);
+    @PostMapping("addKey")
+    public Response addKey(@RequestBody KeyInf kinf){
+        return service.addKey(kinf);
     }
 
 
     @ApiOperation(value = "鍒犻櫎閽ュ寵")
     @GetMapping("delKey")
-    public Response delKey(@RequestParam Integer id){
-        return service.delKey(id);
+    public Response delKey(@RequestParam Integer keyId){
+        return service.delKey(keyId);
     }
 
     @ApiOperation(value = "淇敼閽ュ寵")
@@ -40,4 +52,5 @@
     public Response updateKey(@RequestBody KeyInf kinf){
         return service.updateKey(kinf);
     }
+
 }
\ No newline at end of file

--
Gitblit v1.9.1