mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-29 16:06:36 +08:00
优化ui 添加转发诊断 移除vue前端
This commit is contained in:
@@ -62,4 +62,16 @@ public class NodeController extends BaseController {
|
||||
Long id = Long.valueOf(params.get("id").toString());
|
||||
return nodeService.getInstallCommand(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查和修复节点状态
|
||||
* @param params 包含节点ID的参数(可选)
|
||||
* @return 检查结果
|
||||
*/
|
||||
@LogAnnotation
|
||||
@RequireRole
|
||||
@PostMapping("/check-status")
|
||||
public R checkNodeStatus(@RequestBody(required = false) Map<String, Object> params) {
|
||||
return nodeService.checkAndFixNodeStatus(params);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user