feat: sanitize system import prompts

This commit is contained in:
ogt
2026-06-25 18:58:23 +08:00
parent a260ea9e4f
commit e2b28b4b69
4 changed files with 47 additions and 16 deletions

View File

@@ -856,7 +856,13 @@ def test_governance_and_low_frequency_pages_avoid_engineering_status_copy():
"重新匯入最新檔案",
],
"templates/settings.html": ["比價來源同步", "補齊 MOMO 參考來源"],
"templates/system_settings.html": ["營運資料備份", "可回復的業績與設定狀態"],
"templates/system_settings.html": [
"營運資料備份",
"可回復的業績與設定狀態",
"toImportActionMessage",
"匯入沒有完成",
"業績資料處理未完整完成",
],
"templates/ai_recommend.html": ["值得主推、調價或補比價", "回到 PChome 銷售動作"],
"templates/notification_templates.html": ["商品、風險與下一步"],
"templates/vendor_stockout_index_v2.html": ["處理缺貨", "主推商品供貨風險"],
@@ -904,6 +910,11 @@ def test_governance_and_low_frequency_pages_avoid_engineering_status_copy():
"AI 程式碼審查",
"Google Drive →",
"匯入資料庫",
"realtime_sales_monthly",
"daily_sales_snapshot",
"資料落點",
"檢查日誌",
"發生系統錯誤",
"刪除雲端原檔",
"資料表:",
"資料表:",