From 6147925f7d409613512867948fdf4321ae0044ec Mon Sep 17 00:00:00 2001 From: dsa343 Date: Sat, 7 Mar 2026 16:34:01 +0800 Subject: [PATCH] =?UTF-8?q?feat0307=20industry-deep=E6=8A=80=E8=83=BD?= =?UTF-8?q?=E7=9A=84mysql=E5=9C=B0=E5=9D=80=E6=94=B9=E4=B8=BA=E5=85=AC?= =?UTF-8?q?=E7=BD=91=E5=9C=B0=E5=9D=80=E5=92=8C=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- industry-deep/SKILL.md | 2 +- industry-deep/scripts/db_config.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/industry-deep/SKILL.md b/industry-deep/SKILL.md index 6a76cb2..14186be 100644 --- a/industry-deep/SKILL.md +++ b/industry-deep/SKILL.md @@ -113,7 +113,7 @@ pip install -r ~/.claude/skills/industry-deep/requirements.txt ## 约束 -- 数据库: MySQL @ 192.168.1.10:3306 (局域网,需在局域网内访问) +- 数据库: MySQL @ 222.128.1.157:33060 (公网地址) - 数据库连接信息可通过环境变量 `INDUSTRY_DEEP_DB_*` 覆盖(见 `scripts/db_config.py`) - 当前约 20 个行业,数据来源为 V3 深度研报 LLM 生成 - Part 原文为 LLM 生成的 Markdown,子章节结构约 85% 跨行业一致,个别行业可能有小幅偏差 diff --git a/industry-deep/scripts/db_config.py b/industry-deep/scripts/db_config.py index 140f5a7..6eb897a 100644 --- a/industry-deep/scripts/db_config.py +++ b/industry-deep/scripts/db_config.py @@ -6,8 +6,8 @@ import os DB_CONFIG = { - "host": os.environ.get("INDUSTRY_DEEP_DB_HOST", "192.168.1.10"), - "port": int(os.environ.get("INDUSTRY_DEEP_DB_PORT", "3306")), + "host": os.environ.get("INDUSTRY_DEEP_DB_HOST", "222.128.1.157"), + "port": int(os.environ.get("INDUSTRY_DEEP_DB_PORT", "33060")), "user": os.environ.get("INDUSTRY_DEEP_DB_USER", "sunjiewei"), "password": os.environ.get("INDUSTRY_DEEP_DB_PASS", "sunjiewei@vf"), "database": os.environ.get("INDUSTRY_DEEP_DB_NAME", "industry_deep"),