fix(项目设置): 公共脚本执行语言不符
This commit is contained in:
parent
ce37c4c194
commit
ffa22b9320
|
@ -243,6 +243,7 @@ public class ApiExecuteService {
|
|||
String testId = runRequest.getProjectId();
|
||||
// 生成执行脚本
|
||||
MsCommentScriptElement msCommentScriptElement = BeanUtils.copyBean(new MsCommentScriptElement(), runRequest);
|
||||
msCommentScriptElement.setScriptLanguage(runRequest.getType());
|
||||
String executeScript = parseExecuteScript(msCommentScriptElement, new ApiParamConfig());
|
||||
// 设置执行参数
|
||||
TaskRequestDTO taskRequest = new TaskRequestDTO();
|
||||
|
|
Loading…
Reference in New Issue