清理已删除的测试文件,准备云端部署

This commit is contained in:
ztb-system
2026-02-25 18:17:00 +08:00
parent 5f93dbe5e4
commit 305f6b342c
29 changed files with 143 additions and 2536 deletions

View File

@@ -2,6 +2,7 @@
"""
爬虫配置文件
"""
import os
# 浙江省公共资源交易中心
ZHEJIANG_CONFIG = {
@@ -80,7 +81,7 @@ DATA_DIR = "data"
# ============ DeepSeek AI 处理配置 ============
DEEPSEEK_API_KEY = "sk-7b7211ee80b84000beebfa74a599ba13"
DEEPSEEK_API_KEY = os.environ.get("DEEPSEEK_API_KEY", "")
PROCESSING_CONFIG = {
"temp_dir": "temp_files", # 临时文件目录
@@ -121,7 +122,7 @@ REGION_CONFIGS = {
"taizhou:招标计划公示": {
"region_name": "台州招标计划",
"link_field": "公告链接",
"ai_fields": ["批准文号", "类型", "地区", "招标时间"],
"ai_fields": ["批准文号", "类型", "地区", "招标时间", "预估金额"],
},
}
@@ -381,7 +382,7 @@ DEEPSEEK_PROMPTS = {
# ============ 简道云配置 ============
JDY_CONFIG = {
"api_key": "JmxuXmkew33mvQttRD3ftSfQoOEX6R9J",
"api_key": os.environ.get("JDY_API_KEY", ""),
"forms": {
"台州招标计划": {
@@ -392,6 +393,8 @@ JDY_CONFIG = {
"批准文号": "_widget_1768289120166",
"名称": "_widget_1768289120167",
"类型": "_widget_1768289120168",
"招标时间": "_widget_1768289120169",
"预估金额": "_widget_1768289120170",
"公告链接": "_widget_1768349415371",
"招标阶段": "_widget_1768289432065",
},