统一接口前缀

This commit is contained in:
zjw
2026-04-15 10:46:57 +08:00
parent 5d5308cf57
commit 9fd8971732
26 changed files with 153 additions and 148 deletions

View File

@@ -147,7 +147,7 @@ public class VideoCallbackIdempotencyTest extends AbstractIntegrationTest {
HttpHeaders headers = new HttpHeaders();
headers.set("Authorization", "Bearer " + ADMIN_TOKEN);
ResponseEntity<Map> resp = restTemplate.exchange(
baseUrl("/api/video/jobs/" + jobId + "/reset"),
baseUrl("/label/api/video/jobs/" + jobId + "/reset"),
HttpMethod.POST,
new HttpEntity<>(headers),
Map.class);
@@ -175,7 +175,7 @@ public class VideoCallbackIdempotencyTest extends AbstractIntegrationTest {
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.APPLICATION_JSON);
return restTemplate.exchange(
baseUrl("/api/video/callback"),
baseUrl("/label/api/video/callback"),
HttpMethod.POST,
new HttpEntity<>(body, headers),
Map.class);