Skip to content

Commit

Permalink
style(api): 删除无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
wenyann committed Aug 3, 2020
1 parent cb58177 commit 82eb4a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ public List<ApiTest> list(@PathVariable String projectId) {
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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ public APITestResult get(String id) {
return null;
}

public ApiTest getApiTestByTestId(String testId) {
return apiTestMapper.selectByPrimaryKey(testId);
}

public List<ApiTest> getApiTestByProjectId(String projectId) {
return extApiTestMapper.getApiTestByProjectId(projectId);
Expand Down

0 comments on commit 82eb4a4

Please sign in to comment.