whyclxw
2025-01-06 4be169675d8ed349ac1a4f5ab50d93d0b1dedde9
src/main/java/com/whyc/controller/AppController.java
@@ -9,6 +9,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
@RestController
@@ -34,4 +35,16 @@
        return ainfService.getInfByAreaManage();
    }
    @ApiOperation(value = "区域管理员点击管理的区域跳转--区域管理员")
    @GetMapping("getAinfByManage")
    public Response getAinfByManage(){
        return ainfService.getAinfByManage();
    }
    @ApiOperation(value = "区域管理员点击指定区域查看所有的锁信息--区域管理员")
    @GetMapping("getlinfByAid")
    public Response getlinfByAid(@RequestParam int id){
        return ainfService.getlinfByAid(id);
    }
}