From a9b64bd0df23c0fa724e45e3d69eb668949304e4 Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期四, 02 一月 2025 15:16:11 +0800 Subject: [PATCH] 区域管理员登录查看自己管理区域,锁具和区域对应的用户--区域管理员 --- src/main/java/com/whyc/controller/AppController.java | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/whyc/controller/AppController.java b/src/main/java/com/whyc/controller/AppController.java index de6c79a..3038f10 100644 --- a/src/main/java/com/whyc/controller/AppController.java +++ b/src/main/java/com/whyc/controller/AppController.java @@ -2,6 +2,7 @@ import com.whyc.dto.Response; import com.whyc.pojo.db_area.AuthiruzeInf; +import com.whyc.service.AreaInfService; import com.whyc.service.AuthiruzeInfService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; @@ -17,10 +18,20 @@ @Autowired private AuthiruzeInfService authService; - @ApiOperation(value = "鏅�氱敤鎴风櫥褰曟煡鐪嬭嚜宸辨巿鏉冭褰�") + @Autowired + private AreaInfService ainfService; + + @ApiOperation(value = "鏅�氱敤鎴风櫥褰曟煡鐪嬭嚜宸辨巿鏉冭褰�--鏅�氱敤鎴�") @GetMapping("getAuthByUid") public Response getAuthByUid(){ return authService.getAuthByUid(); } + + @ApiOperation(value = "鍖哄煙绠$悊鍛樼櫥褰曟煡鐪嬭嚜宸辩鐞嗗尯鍩燂紝閿佸叿鍜屽尯鍩熷搴旂殑鐢ㄦ埛--鍖哄煙绠$悊鍛�") + @GetMapping("getInfByAreaManage") + public Response getInfByAreaManage(){ + return ainfService.getInfByAreaManage(); + } + } \ No newline at end of file -- Gitblit v1.9.1