mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 05:29:29 +08:00
style(api): 删除无用代码
This commit is contained in:
parent
cb58177c62
commit
82eb4a4e7a
@ -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) {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user