| | |
| | | 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 |
| | |
| | | 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); |
| | | } |
| | | |
| | | } |