|
|
@@ -1,5 +1,6 @@
|
|
|
package cn.seecoder.web.controller.func_test;
|
|
|
|
|
|
+import cn.seecoder.web.model.vo.func_test.FuncTestRecordVO;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
|
@@ -127,7 +128,7 @@ public class FuncTestController {
|
|
|
@ApiOperation(value = "获取当前部署的所有相关测试用例历史记录信息", httpMethod = "GET")
|
|
|
@ApiImplicitParam(name = "projectId",dataType ="int", paramType = "query")
|
|
|
@GetMapping("/record/latest")
|
|
|
- public Response getLatestRecord(@RequestParam("projectId") Integer projectId){
|
|
|
+ public Response<List<FuncTestRecordVO>> getLatestRecord(@RequestParam("projectId") Integer projectId){
|
|
|
return Response.buildSuccess(funcTestService.getLatestRecord(projectId));
|
|
|
}
|
|
|
}
|