diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3e48cf1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,114 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ + +# 数据库文件 +data/*.db + +# PID文件 +app.pid + +# 日志文件 +logs/*.log + +# 临时文件 +*.tmp +*.bak \ No newline at end of file diff --git a/__pycache__/config.cpython-310.pyc b/__pycache__/config.cpython-310.pyc deleted file mode 100644 index b9866f6..0000000 Binary files a/__pycache__/config.cpython-310.pyc and /dev/null differ diff --git a/app.pid b/app.pid deleted file mode 100644 index 02fb4cc..0000000 --- a/app.pid +++ /dev/null @@ -1 +0,0 @@ -2706006 diff --git a/data/param_auto.db b/data/param_auto.db deleted file mode 100644 index aa4c50f..0000000 Binary files a/data/param_auto.db and /dev/null differ diff --git a/logs/app.log b/logs/app.log deleted file mode 100644 index 5304c3d..0000000 --- a/logs/app.log +++ /dev/null @@ -1,34 +0,0 @@ -2026-07-12 01:06:36,858 - param_auto_manager - INFO - 初始化数据库... -2026-07-12 01:06:36,859 - apscheduler.scheduler - INFO - Adding job tentatively -- it will be properly scheduled when the scheduler starts -2026-07-12 01:06:36,859 - scheduler - INFO - 添加定时任务: auto_process, 间隔: 300秒 -2026-07-12 01:06:36,860 - apscheduler.scheduler - INFO - Added job "auto_process_task" to job store "default" -2026-07-12 01:06:36,860 - apscheduler.scheduler - INFO - Scheduler started -2026-07-12 01:06:36,860 - scheduler - INFO - 定时任务调度器已启动 -2026-07-12 01:06:36,861 - param_auto_manager - INFO - 定时任务调度器已启动 -2026-07-12 01:06:36,861 - param_auto_manager - INFO - 启动服务,端口: 16043 - * Serving Flask app 'app' - * Debug mode: on -2026-07-12 01:06:36,878 - werkzeug - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on all addresses (0.0.0.0) - * Running on http://127.0.0.1:16043 - * Running on http://192.168.0.101:16043 -2026-07-12 01:06:36,878 - werkzeug - INFO - Press CTRL+C to quit -2026-07-12 01:06:36,881 - werkzeug - INFO - * Restarting with stat -2026-07-12 01:06:37,478 - param_auto_manager - INFO - 初始化数据库... -2026-07-12 01:06:37,479 - apscheduler.scheduler - INFO - Adding job tentatively -- it will be properly scheduled when the scheduler starts -2026-07-12 01:06:37,479 - scheduler - INFO - 添加定时任务: auto_process, 间隔: 300秒 -2026-07-12 01:06:37,480 - apscheduler.scheduler - INFO - Added job "auto_process_task" to job store "default" -2026-07-12 01:06:37,480 - apscheduler.scheduler - INFO - Scheduler started -2026-07-12 01:06:37,481 - scheduler - INFO - 定时任务调度器已启动 -2026-07-12 01:06:37,481 - param_auto_manager - INFO - 定时任务调度器已启动 -2026-07-12 01:06:37,481 - param_auto_manager - INFO - 启动服务,端口: 16043 -2026-07-12 01:06:37,493 - werkzeug - WARNING - * Debugger is active! -2026-07-12 01:06:37,657 - werkzeug - INFO - * Debugger PIN: 854-773-964 -2026-07-12 01:06:40,247 - werkzeug - INFO - 127.0.0.1 - - [12/Jul/2026 01:06:40] "GET / HTTP/1.1" 200 - -2026-07-12 01:06:46,294 - werkzeug - INFO - 127.0.0.1 - - [12/Jul/2026 01:06:46] "GET /api/system/stats HTTP/1.1" 200 - -2026-07-12 01:06:46,302 - werkzeug - INFO - 127.0.0.1 - - [12/Jul/2026 01:06:46] "GET /api/products/pending HTTP/1.1" 200 - -2026-07-12 01:06:46,321 - werkzeug - INFO - 127.0.0.1 - - [12/Jul/2026 01:06:46] "GET /api/articles HTTP/1.1" 200 - -2026-07-12 01:06:56,298 - werkzeug - INFO - 127.0.0.1 - - [12/Jul/2026 01:06:56] "POST /api/articles HTTP/1.1" 200 - -2026-07-12 01:06:56,319 - werkzeug - INFO - 127.0.0.1 - - [12/Jul/2026 01:06:56] "POST /api/products/pending HTTP/1.1" 200 - -2026-07-12 01:06:59,746 - werkzeug - INFO - 127.0.0.1 - - [12/Jul/2026 01:06:59] "GET /api/articles/search?q=GPT-4o HTTP/1.1" 200 - -2026-07-12 01:06:59,757 - werkzeug - INFO - 127.0.0.1 - - [12/Jul/2026 01:06:59] "GET /api/products/pending HTTP/1.1" 200 - diff --git a/models/__pycache__/database.cpython-310.pyc b/models/__pycache__/database.cpython-310.pyc deleted file mode 100644 index 766fd05..0000000 Binary files a/models/__pycache__/database.cpython-310.pyc and /dev/null differ diff --git a/routes/__pycache__/articles.cpython-310.pyc b/routes/__pycache__/articles.cpython-310.pyc deleted file mode 100644 index f3e27c8..0000000 Binary files a/routes/__pycache__/articles.cpython-310.pyc and /dev/null differ diff --git a/routes/__pycache__/products.cpython-310.pyc b/routes/__pycache__/products.cpython-310.pyc deleted file mode 100644 index 6cbd34d..0000000 Binary files a/routes/__pycache__/products.cpython-310.pyc and /dev/null differ diff --git a/routes/__pycache__/system.cpython-310.pyc b/routes/__pycache__/system.cpython-310.pyc deleted file mode 100644 index 3ee58e7..0000000 Binary files a/routes/__pycache__/system.cpython-310.pyc and /dev/null differ diff --git a/services/__pycache__/paramhub_client.cpython-310.pyc b/services/__pycache__/paramhub_client.cpython-310.pyc deleted file mode 100644 index b40381d..0000000 Binary files a/services/__pycache__/paramhub_client.cpython-310.pyc and /dev/null differ diff --git a/services/__pycache__/process_service.cpython-310.pyc b/services/__pycache__/process_service.cpython-310.pyc deleted file mode 100644 index b3bdc49..0000000 Binary files a/services/__pycache__/process_service.cpython-310.pyc and /dev/null differ diff --git a/services/__pycache__/search_service.cpython-310.pyc b/services/__pycache__/search_service.cpython-310.pyc deleted file mode 100644 index dd90e38..0000000 Binary files a/services/__pycache__/search_service.cpython-310.pyc and /dev/null differ diff --git a/utils/__pycache__/scheduler.cpython-310.pyc b/utils/__pycache__/scheduler.cpython-310.pyc deleted file mode 100644 index 900ac8d..0000000 Binary files a/utils/__pycache__/scheduler.cpython-310.pyc and /dev/null differ