From 4290966da83c7d38d2f89a7b33b8077d3f1d2685 Mon Sep 17 00:00:00 2001 From: ogt Date: Thu, 25 Jun 2026 10:58:31 +0800 Subject: [PATCH] fix: align vendor stockout growth copy --- config.py | 2 +- templates/vendor_stockout_index_v2.html | 2 +- tests/test_pchome_revenue_growth_service.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index 99b4993..8077e6f 100644 --- a/config.py +++ b/config.py @@ -402,7 +402,7 @@ YOUTUBE_API_KEY = os.getenv('YOUTUBE_API_KEY', '') # ========================================== # 系統版本與路徑 # ========================================== -SYSTEM_VERSION = "V10.660" +SYSTEM_VERSION = "V10.661" LOG_FILE_PATH = os.path.join(BASE_DIR, 'logs/system.log') public_url = PUBLIC_URL # 用於模板顯示 diff --git a/templates/vendor_stockout_index_v2.html b/templates/vendor_stockout_index_v2.html index b024415..ae6b734 100644 --- a/templates/vendor_stockout_index_v2.html +++ b/templates/vendor_stockout_index_v2.html @@ -18,7 +18,7 @@

廠商缺貨

- 以匯入的缺貨清單、廠商聯絡資料與郵件發送紀錄為準,追蹤待處理缺貨、已發送通知與聯絡資料完整度。 + 處理缺貨風險,避免主推商品斷貨。

diff --git a/tests/test_pchome_revenue_growth_service.py b/tests/test_pchome_revenue_growth_service.py index d038606..9304a3b 100644 --- a/tests/test_pchome_revenue_growth_service.py +++ b/tests/test_pchome_revenue_growth_service.py @@ -582,7 +582,7 @@ def test_primary_pages_use_growth_outcome_copy_instead_of_feature_explaining(): "templates/ai_recommend.html": "把價差、商品證據與趨勢轉成可追蹤的銷售建議", "templates/auto_import_index.html": "保持 PChome 業績新鮮", "templates/price_comparison.html": "確認同款、判斷價差、決定下一步", - "templates/index.html": "避免主推商品斷貨", + "templates/vendor_stockout_index_v2.html": "避免主推商品斷貨", "templates/monthly_summary_analysis.html": "判斷成長、毛利與品類結構", }