| | |
| | | package cn.flightfeather.supervision.lightshare.web |
| | | |
| | | import cn.flightfeather.supervision.config.IgnoreResponseAdvice |
| | | import cn.flightfeather.supervision.lightshare.service.UserMapService |
| | | import cn.flightfeather.supervision.lightshare.vo.AreaVo |
| | | import cn.flightfeather.supervision.lightshare.vo.DeviceMapVo |
| | |
| | | @RequestMapping("/usermap") |
| | | class UserMapController(val userMapService: UserMapService) { |
| | | |
| | | @IgnoreResponseAdvice |
| | | @ApiOperation(value = "根据飞羽监管系统中的场景id,获取与飞羽环境系统中的关联用户") |
| | | @GetMapping |
| | | fun getTZId(@RequestParam sceneId: String) = userMapService.getTZIdBySceneId(sceneId) |
| | | |
| | | @IgnoreResponseAdvice |
| | | @ApiOperation(value = "根据飞羽环境系统中的用户id,获取与飞羽监管系统中的关联用户") |
| | | @GetMapping("/scene") |
| | | fun getSceneByTzId(@RequestParam tzUserId: String) = userMapService.getSceneByTZId(tzUserId) |