From f8c0178e838a76b0f7ec4e0f5dbb25b7fd4cc6ad Mon Sep 17 00:00:00 2001 From: yuhalog Date: Mon, 16 Jun 2025 16:02:41 +0900 Subject: [PATCH 1/2] fix: import error --- smarketing-ai/app.py | 2 +- smarketing-ai/models/request_models.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/smarketing-ai/app.py b/smarketing-ai/app.py index 1a173b5..41d772a 100644 --- a/smarketing-ai/app.py +++ b/smarketing-ai/app.py @@ -12,7 +12,7 @@ from config.config import Config from services.sns_content_service import SnsContentService from services.poster_service import PosterService from models.request_models import ContentRequest, PosterRequest, SnsContentGetRequest, PosterContentGetRequest - +from api.marketing_tip_api import marketing_tip_bp def create_app(): """Flask 애플리케이션 팩토리""" diff --git a/smarketing-ai/models/request_models.py b/smarketing-ai/models/request_models.py index 2aba14f..41b36d2 100644 --- a/smarketing-ai/models/request_models.py +++ b/smarketing-ai/models/request_models.py @@ -4,6 +4,8 @@ API 요청 데이터 구조를 정의 """ from dataclasses import dataclass from typing import List, Optional +from datetime import date + @dataclass From 2ea0e7bae14f71988e2da130d79642ed51d48ff7 Mon Sep 17 00:00:00 2001 From: OhSeongRak Date: Mon, 16 Jun 2025 16:03:33 +0900 Subject: [PATCH 2/2] =?UTF-8?q?refactor:=20=EC=84=9C=EB=B9=84=EC=8A=A4=20?= =?UTF-8?q?=ED=8F=AC=ED=8A=B8=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- smarketing-ai/deployment/manifest/service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smarketing-ai/deployment/manifest/service.yaml b/smarketing-ai/deployment/manifest/service.yaml index 2bbc84d..87ba6f0 100644 --- a/smarketing-ai/deployment/manifest/service.yaml +++ b/smarketing-ai/deployment/manifest/service.yaml @@ -8,7 +8,7 @@ metadata: spec: type: ClusterIP ports: - - port: 80 + - port: 5001 targetPort: 5001 protocol: TCP name: http