This commit is contained in:
雷欧(林平凡)
2025-08-28 10:17:44 +08:00
parent bb2bd8ea77
commit 4e80dcbaa3
3 changed files with 28 additions and 28 deletions

View File

@@ -30,7 +30,7 @@ public class InstructionController extends BaseController {
@PostMapping("/execute")
public AjaxResult execute(@RequestBody Map<String, String> body) {
String cmd = body != null ? body.get("command") : null;
String result = instructionService.execute(cmd);
java.util.List<String> result = instructionService.execute(cmd);
return AjaxResult.success(result);
}
}