feat: 开发采集插件

This commit is contained in:
R524809
2026-08-11 17:09:23 +08:00
parent 6c4356de24
commit b27e42dc75
148 changed files with 6898 additions and 9691 deletions
+3 -2
View File
@@ -6,7 +6,7 @@ if [[ ! -d .venv ]]; then
echo "未找到 .venv,正在创建并安装依赖…"
python3 -m venv .venv || exit 1
source .venv/bin/activate
pip install -r requirements.txt || exit 1
pip install -r server/requirements.txt || exit 1
else
source .venv/bin/activate
fi
@@ -23,7 +23,8 @@ echo "启动中:http://127.0.0.1:8000/ozonSeller.html"
echo "按 Ctrl+C 可停止服务"
echo
uvicorn main:app --reload --reload-include '*.yaml' --host 127.0.0.1 --port 8000
# --app-dir server 让 uvicorn 在 server/ 下找 main:app,工作目录仍是仓库根(.env 在此)
uvicorn main:app --app-dir server --reload --reload-include '*.yaml' --host 127.0.0.1 --port 8000
echo
echo "服务已停止。按回车关闭窗口…"