Parcourir la source

fix: 组件管理

jay il y a 2 ans
Parent
commit
34ff78dfac

+ 1 - 1
iot-module/iot-manager/src/main/java/cc/iotkit/manager/controller/ProtocolController.java

@@ -126,7 +126,7 @@ public class ProtocolController {
        return protocolService.deleteConverter(id);
     }
 
-    @PostMapping("/component/changeState}")
+    @PostMapping("/component/changeState")
     @ApiOperation("组件启用/禁用")
     public boolean changeComponentState(@RequestBody @Validated Request<ChangeStateBo> req) {
        return protocolService.changeComponentState(req.getData());