Merge branch 'feature-BizInput' of https://gitea.o2o.kr/castad/o2o-castad-backend into feature-BizInput

This commit is contained in:
skkim committed 2026-06-02 10:56:13 +09:00
commit 33e479de02
4 files changed
+11 -8

No files matched your search

-3
View File
@@ -357,7 +357,6 @@ async def _crawling_logic(
f"[crawling] Step 3 FAILED - GPT 마케팅 분석 중 오류: {e} ({step3_elapsed:.1f}ms)"
)
logger.exception("[crawling] Step 3 상세 오류:")
# GPT 실패 시에도 크롤링 결과는 반환
marketing_analysis = None
gpt_status = "failed"
else:
@@ -375,8 +374,6 @@ async def _crawling_logic(
logger.info(f"[crawling] - Step 2 (정보가공): {step2_elapsed:.1f}ms")
if "step3_elapsed" in locals():
logger.info(f"[crawling] - Step 3 (GPT 분석): {step3_elapsed:.1f}ms")
if "step3_3_elapsed" in locals():
logger.info(f"[crawling] - GPT API 호출: {step3_3_elapsed:.1f}ms")
return {
"status": gpt_status if 'gpt_status' in locals() else "completed",
+3 -3
View File
@@ -289,10 +289,10 @@ class MarketingIntel(Base):
comment="고유 식별자",
)
place_id: Mapped[str] = mapped_column(
place_id: Mapped[Optional[str]] = mapped_column(
String(36),
nullable=False,
comment="매장 소스별 고유 식별자",
nullable=True,
comment="매장 소스별 고유 식별자 (네이버 크롤링 시 'nv{id}' 형식; 직접 입력 시 NULL)",
)
intel_result : Mapped[dict[str, Any]] = mapped_column(