From eb55d4849c865e55ff3e7c4541d6fdcfe0198436 Mon Sep 17 00:00:00 2001 From: koreafood Date: Sat, 31 Oct 2026 11:35:27 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8A=A4=ED=8A=9C=EB=94=94=EC=98=A4:=20price?= =?UTF-8?q?=5Fnote=20=ED=95=84=EB=93=9C=20=ED=8E=B8=EC=A7=91=20=EC=A7=80?= =?UTF-8?q?=EC=9B=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- studio/server.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/studio/server.py b/studio/server.py index e8f53f5..c5dd7f8 100644 --- a/studio/server.py +++ b/studio/server.py @@ -38,7 +38,7 @@ AI_MODEL = "deepseek-flash" AI_CONFIG = Path.home() / ".config" / "teamat-studio" / "ai.json" CLAUDE_SETTINGS = Path.home() / ".claude" / "settings.json" # AI 가 손댈 수 있는 필드 (slug·date·image·gallery·sold_out·featured·naver_url 은 제외) -AI_FIELDS = ["title", "subtitle", "price", "material", "size", "care", "image_alt"] +AI_FIELDS = ["title", "subtitle", "price", "price_note", "material", "size", "care", "image_alt"] # 폼에 노출할 필드와 순서. 여기 없는 키도 파일에 있으면 보존한다. FIELDS: List[Dict[str, str]] = [ @@ -46,6 +46,7 @@ FIELDS: List[Dict[str, str]] = [ {"key": "subtitle", "label": "부제", "type": "text"}, {"key": "date", "label": "날짜", "type": "date"}, {"key": "price", "label": "가격(원)", "type": "number"}, + {"key": "price_note", "label": "가격 옵션 안내 (예: 네 장 세트 50,000원)", "type": "text"}, {"key": "sold_out", "label": "품절 표시", "type": "bool"}, {"key": "featured", "label": "첫 페이지 대표작", "type": "bool"}, {"key": "image", "label": "대표 이미지", "type": "image"}, @@ -446,7 +447,7 @@ price 는 원 단위 정수. 모르면 0 이 아니라 null 이 아니라 빈 slug 는 제목을 영문 소문자·하이픈으로 옮긴 것(예: magnolia-tea-mat). """ -DEFAULT_ORDER = ["slug", "title", "subtitle", "date", "price", "sold_out", "featured", +DEFAULT_ORDER = ["slug", "title", "subtitle", "date", "price", "price_note", "sold_out", "featured", "image", "image_alt", "gallery", "material", "size", "care", "naver_url"]