style(api): 删除无用代码

This commit is contained in:
wenyann 2020-08-03 18:44:14 +08:00
parent cb58177c62
commit 82eb4a4e7a
2 changed files with 0 additions and 7 deletions

View File

@ -47,10 +47,6 @@ public class APITestController {
return apiTestService.getApiTestByProjectId(projectId);
}
@GetMapping("/state/get/{testId}")
public ApiTest apiState(@PathVariable String testId) {
return apiTestService.getApiTestByTestId(testId);
}
@PostMapping(value = "/schedule/update")
public void updateSchedule(@RequestBody Schedule request) {

View File

@ -126,9 +126,6 @@ public class APITestService {
return null;
}
public ApiTest getApiTestByTestId(String testId) {
return apiTestMapper.selectByPrimaryKey(testId);
}
public List<ApiTest> getApiTestByProjectId(String projectId) {
return extApiTestMapper.getApiTestByProjectId(projectId);