fix(接口测试): 修复接口用例批量执行没有日志的缺陷
--bug=1027607 --user=王孝刚 【接口测试】接口用例-批量执行-操作日志无记录 https://www.tapd.cn/55049933/s/1390225
This commit is contained in:
parent
95261f22a0
commit
8fd2acb9bc
|
@ -225,7 +225,7 @@ public class ApiTestCaseController {
|
|||
}
|
||||
|
||||
@PostMapping(value = "/batch/run")
|
||||
@MsAuditLog(module = OperLogModule.API_DEFINITION_CASE, type = OperLogConstants.EXECUTE, content = "#msClass.getLogDetails(#request.caseId)", msClass = ApiTestCaseService.class)
|
||||
@MsAuditLog(module = OperLogModule.API_DEFINITION_CASE, type = OperLogConstants.EXECUTE, content = "#msClass.getLogDetails(#request.ids)", msClass = ApiTestCaseService.class)
|
||||
public List<MsExecResponseDTO> batchRun(@RequestBody ApiCaseRunRequest request) {
|
||||
request.setTriggerMode(ReportTriggerMode.BATCH.name());
|
||||
return apiCaseExecuteService.run(request);
|
||||
|
|
Loading…
Reference in New Issue