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/AuthiruzeInfController.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/whyc/controller/AuthiruzeInfController.java b/src/main/java/com/whyc/controller/AuthiruzeInfController.java index ea53b95..6179d2c 100644 --- a/src/main/java/com/whyc/controller/AuthiruzeInfController.java +++ b/src/main/java/com/whyc/controller/AuthiruzeInfController.java @@ -21,9 +21,9 @@ @ApiOperation(value = "鏌ヨ鎵�鏈夋巿鏉冧俊鎭�") @GetMapping("getAllAuthInf") - public Response getAllAuthInf(@RequestParam(required = false) Integer state, @RequestParam(required = false) String uname + public Response getAllAuthInf( @RequestParam(required = false) String uname ,@RequestParam int areaId , int pageNum, int pageSize){ - return service.getAllAuthInf(state,uname,areaId,pageNum,pageSize); + return service.getAllAuthInf(uname,areaId,pageNum,pageSize); } @ApiOperation(value = "娣诲姞鎺堟潈(鎵归噺)") @@ -39,15 +39,15 @@ return service.delAuth(ids); } - @ApiOperation(value = "淇敼鎺堟潈") + @ApiOperation(value = "淇敼鎺堟潈(鎵归噺)") @PostMapping("updateAuth") - public Response updateAuth(@RequestBody AuthiruzeInf auth){ - return service.updateAuth(auth); + public Response updateAuth(@RequestBody AuthiruzeInf auth,@RequestParam int id){ + return service.updateAuth(auth,id); } @ApiOperation(value = "鏍规嵁mac妫�娴嬭摑鐗欓攣鏄惁鏈夋潈闄�") @GetMapping("getAuthByUidAndMac") - public Response getAuthByUidAndMac(@RequestParam Integer mac){ - return service.getAuthByUidAndMac(mac); + public Response getAuthByUidAndMac(@RequestParam String mac,@RequestParam String uname){ + return service.getAuthByUidAndMac(mac,uname); } } \ No newline at end of file -- Gitblit v1.9.1