Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
36b24c44da
|
@ -137,9 +137,9 @@ export function jsonGenerator(params) {
|
|||
|
||||
export function getUserDefaultApiType() {
|
||||
if (currentModuleName === 'api') {
|
||||
return get('/api/module/getUserDefaultApiType');
|
||||
return get('/api/module/default-type');
|
||||
}
|
||||
return get('/environment/relate/api/module/getUserDefaultApiType');
|
||||
return get('/environment/relate/api/module/default-type');
|
||||
}
|
||||
|
||||
export function getModuleByUrl(url) {
|
||||
|
|
|
@ -25,7 +25,7 @@ public class EnvironmentRelateController {
|
|||
|
||||
@PostMapping("/api/definition/list/batch")
|
||||
public Object listBatch(@RequestBody Object obj) {
|
||||
return microService.postForData(MicroServiceName.API_TEST, "/api/definition/generator", obj);
|
||||
return microService.postForData(MicroServiceName.API_TEST, "/api/definition/list/batch", obj);
|
||||
}
|
||||
|
||||
@PostMapping("/api/testcase/list-blobs")
|
||||
|
@ -38,9 +38,9 @@ public class EnvironmentRelateController {
|
|||
return microService.postForData(MicroServiceName.API_TEST, "/api/definition/generator", obj);
|
||||
}
|
||||
|
||||
@GetMapping("/api/module/getUserDefaultApiType")
|
||||
@GetMapping("/api/module/default-type")
|
||||
public Object getUserDefaultApiType() {
|
||||
return microService.getForData(MicroServiceName.API_TEST, "/api/module/getUserDefaultApiType/");
|
||||
return microService.getForData(MicroServiceName.API_TEST, "/api/module/default-type");
|
||||
}
|
||||
|
||||
@PostMapping("/api/definition/list/{goPage}/{pageSize}")
|
||||
|
|
Loading…
Reference in New Issue