diff --git a/backend/services/planting-service/src/pre-planting/infrastructure/external/pre-planting-authorization.client.ts b/backend/services/planting-service/src/pre-planting/infrastructure/external/pre-planting-authorization.client.ts index 51e737d3..ef6a566d 100644 --- a/backend/services/planting-service/src/pre-planting/infrastructure/external/pre-planting-authorization.client.ts +++ b/backend/services/planting-service/src/pre-planting/infrastructure/external/pre-planting-authorization.client.ts @@ -42,7 +42,7 @@ export class PrePlantingAuthorizationClient { try { const response = await firstValueFrom( this.httpService.get<{ accountSequence: string }>( - `${this.baseUrl}/internal/authorization/community-reward-distribution`, + `${this.baseUrl}/api/v1/authorization/community-reward-distribution`, { params: { accountSequence } }, ), ); @@ -75,7 +75,7 @@ export class PrePlantingAuthorizationClient { try { const response = await firstValueFrom( this.httpService.get<{ distributions: AreaDistributionItem[] }>( - `${this.baseUrl}/internal/authorization/province-area-reward-distribution`, + `${this.baseUrl}/api/v1/authorization/province-area-reward-distribution`, { params: { provinceCode, treeCount: 0 } }, ), ); @@ -117,7 +117,7 @@ export class PrePlantingAuthorizationClient { try { const response = await firstValueFrom( this.httpService.get<{ accountSequence: string }>( - `${this.baseUrl}/internal/authorization/province-team-reward-distribution`, + `${this.baseUrl}/api/v1/authorization/province-team-reward-distribution`, { params: { accountSequence } }, ), ); @@ -150,7 +150,7 @@ export class PrePlantingAuthorizationClient { try { const response = await firstValueFrom( this.httpService.get<{ distributions: AreaDistributionItem[] }>( - `${this.baseUrl}/internal/authorization/city-area-reward-distribution`, + `${this.baseUrl}/api/v1/authorization/city-area-reward-distribution`, { params: { cityCode, treeCount: 0 } }, ), ); @@ -191,7 +191,7 @@ export class PrePlantingAuthorizationClient { try { const response = await firstValueFrom( this.httpService.get<{ accountSequence: string }>( - `${this.baseUrl}/internal/authorization/city-team-reward-distribution`, + `${this.baseUrl}/api/v1/authorization/city-team-reward-distribution`, { params: { accountSequence } }, ), );