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