From a8c945ac9d8adb54f1c3ef44271728bc910d74d4 Mon Sep 17 00:00:00 2001 From: yuhalog <62270401+yuhalog@users.noreply.github.com> Date: Tue, 17 Jun 2025 15:08:26 +0900 Subject: [PATCH] fix: Update PythonAiPosterGenerator.java --- .../infrastructure/external/PythonAiPosterGenerator.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/smarketing-java/marketing-content/src/main/java/com/won/smarketing/content/infrastructure/external/PythonAiPosterGenerator.java b/smarketing-java/marketing-content/src/main/java/com/won/smarketing/content/infrastructure/external/PythonAiPosterGenerator.java index 2318ce0..c166cd6 100644 --- a/smarketing-java/marketing-content/src/main/java/com/won/smarketing/content/infrastructure/external/PythonAiPosterGenerator.java +++ b/smarketing-java/marketing-content/src/main/java/com/won/smarketing/content/infrastructure/external/PythonAiPosterGenerator.java @@ -4,6 +4,7 @@ import com.won.smarketing.content.domain.service.AiPosterGenerator; // 도메인 import com.won.smarketing.content.presentation.dto.PosterContentCreateRequest; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import org.springframework.web.reactive.function.client.WebClient; @@ -23,7 +24,7 @@ public class PythonAiPosterGenerator implements AiPosterGenerator { private final WebClient webClient; - @Value("${external.ai-service.base-url:http://20.249.139.88:5001}") + @Value("${external.ai-service.base-url}") private String aiServiceBaseUrl; /** @@ -148,4 +149,4 @@ public class PythonAiPosterGenerator implements AiPosterGenerator { // 기본 포스터 템플릿 URL 반환 return "https://stdigitalgarage02.blob.core.windows.net/ai-content/fallback-poster.jpg"; } -} \ No newline at end of file +}