This commit is contained in:
2026-03-31 14:33:13 +08:00
12 changed files with 277 additions and 11 deletions

View File

@@ -0,0 +1,25 @@
package com.solution.web.controller.behaviour;
import com.solution.common.core.controller.BaseController;
import com.solution.common.core.domain.AjaxResult;
import com.solution.system.service.HbNodeCommandService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/api/node/command")
public class HbNodeCommandController extends BaseController {
private final HbNodeCommandService nodeCommandService;
public HbNodeCommandController(HbNodeCommandService nodeCommandService) {
this.nodeCommandService = nodeCommandService;
}
@GetMapping(value = "/all")
public AjaxResult all() {
return success(nodeCommandService.findAll());
}
}