src/main/kotlin/cn/flightfeather/supervision/lightshare/web/DeviceController.kt
@@ -19,7 +19,7 @@ @GetMapping fun fetchDevice( @ApiParam("场景id") @RequestParam sceneId: String, @ApiParam("设备类型id", allowableValues = "0,1,2") @RequestParam deviceTypeId: Byte, @ApiParam("设备类型id") @RequestParam deviceTypeId: Byte, ) = resPack { deviceService.findDevices(sceneId, Constant.DeviceType.fromValue(deviceTypeId)) } @ApiOperation("新增场景设备信息")