whyclxw
2025-01-11 51a7b8be2903a25825850e424fd997fff7d8c629
src/main/java/com/whyc/controller/AppController.java
@@ -22,8 +22,6 @@
    @Autowired
    private AreaInfService ainfService;
    @Autowired
    private LockCtlLogService ctlLogService;
    @ApiOperation(value = "普通用户登录查看自己授权记录--普通用户")
@@ -63,4 +61,21 @@
        return ainfService.getAreaLockById(id);
    }
    @ApiOperation(value = "区域管理员查看指定区域下的锁具告警(失败的)--区域管理员")
    @GetMapping("getErrLogByUid")
    public Response getErrLogByUid(int pageNum, int pageSize){
        return ainfService.getErrLogByUid(pageNum,pageSize);
    }
    @ApiOperation(value = "区域管理员查看指定区域下的锁具告警(全部的的)--区域管理员")
    @GetMapping("getAllLogByUid")
    public Response getAllLogByUid(int pageNum, int pageSize){
        return ainfService.getAllLogByUid(pageNum,pageSize);
    }
    @ApiOperation(value = "区域管理员蓝牙开锁记录日志--区域管理员")
    @GetMapping("setLogByUid")
    public Response setLogByUid(String mac, int result){
        return ainfService.setLogByUid(mac,result);
    }
}