|
|
@ -3,7 +3,7 @@ package com.iflytop.gd.debug.controller; |
|
|
|
import com.iflytop.gd.app.model.dto.CmdDTO; |
|
|
|
import com.iflytop.gd.app.service.exceptions.UnSupportCommandException; |
|
|
|
import com.iflytop.gd.common.result.Result; |
|
|
|
import com.iflytop.gd.app.service.cmd.CommandHandler; |
|
|
|
import com.iflytop.gd.common.cmd.CommandHandler; |
|
|
|
import com.iflytop.gd.app.service.cmd.CommandHandlerRegistry; |
|
|
|
import io.swagger.v3.oas.annotations.Operation; |
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag; |
|
|
@ -14,8 +14,6 @@ import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
import java.util.concurrent.CompletableFuture; |
|
|
|
|
|
|
|
@Tag(name = "前端调试指令") |
|
|
|
@RestController |
|
|
|
@RequestMapping("/api/debug/cmd") |
|
|
|