UPDATE: VERSION-20260331
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user