|
|
@ -11,6 +11,7 @@ import lombok.RequiredArgsConstructor; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.ResponseBody; |
|
|
|
|
|
|
@ -32,7 +33,7 @@ public class ExperimentConsistencyTestingControler { |
|
|
|
|
|
|
|
@Operation(summary = "提交配置") |
|
|
|
@PostMapping("/submitConfig") |
|
|
|
public ApiRet<Void> submitConfig(TubeHolderExConfig tubeHolderExConfig) { |
|
|
|
public ApiRet<Void> submitConfig(@RequestBody TubeHolderExConfig tubeHolderExConfig) { |
|
|
|
experimentConsistencyTestingService.submitTubeExConfig(tubeHolderExConfig); |
|
|
|
return ApiRet.success(); |
|
|
|
} |
|
|
|