| | |
| | | package cn.flightfeather.supervision.lightshare.web |
| | | |
| | | import cn.flightfeather.supervision.config.IgnoreResponseAdvice |
| | | import cn.flightfeather.supervision.domain.ds1.entity.Domainitem |
| | | import cn.flightfeather.supervision.lightshare.service.DomainitemService |
| | | import io.swagger.annotations.Api |
| | |
| | | |
| | | @Api(tags = ["DomainitemController"], description = "值域信息API接口") |
| | | @RestController |
| | | @IgnoreResponseAdvice |
| | | @RequestMapping("/domainitem") |
| | | class DomainitemController (val domainitemService: DomainitemService) { |
| | | |
| | |
| | | @ApiOperation("获取巡查任务层次类型选项") |
| | | @GetMapping("/level") |
| | | fun getLevelType() = domainitemService.getLevelType() |
| | | |
| | | @ApiOperation("根据场景类型获取任意拍的类型") |
| | | @GetMapping("/mediaFileType") |
| | | fun getMediaFileType( |
| | | @ApiParam("场景类型id") @RequestParam("sceneType") sceneType:Int |
| | | ) = domainitemService.getMediaFileType(sceneType) |
| | | } |