feat(fileserver): 新增内网文件服务器服务与管理页面
新增 FastAPI 文件服务器核心模块(配置、鉴权、存储、心跳上报),新增 HTTP 路由接口(健康检查、文件上传/下载/删除、管理登录/密码修改/统计),新增 Vue3 管理页面源码;新增 MySQL 元数据存储支持,新增 PyMySQL 依赖;新增 .gitignore 忽略 IDE 与备份文件;新增文件服务器工具脚本;删除旧的 build/ 脚本与 exe 构建产物,优化 Electron 平台登录逻辑为纯接口模式,新增平台账号环境变量注入,优化试用期异常检查逻辑,拆分服务岗转正流程为独立脚本。
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Build portable Python + environment package (python-env-<version>.zip)
|
||||
# Build portable Python + environment package (python-env-<version>.zip)
|
||||
# ============================================================================
|
||||
# Purpose: give the packaged Electron client a self-contained Python runtime so
|
||||
# plugins and platform-login no longer depend on an external Python install.
|
||||
@@ -41,7 +41,7 @@ $PipIndex = $null # e.g. "https://pypi.tuna.tsinghua.ed
|
||||
|
||||
# All dependencies (top-level + key transitive), pinned to .venv-validated versions
|
||||
$Pinned = @(
|
||||
"requests==2.34.2", "python-dotenv==1.2.2", "cryptography==50.0.1",
|
||||
"requests==2.34.2", "python-dotenv==1.2.2", "cryptography==50.0.1", "pycryptodome==3.24.0",
|
||||
"pandas==3.0.5", "numpy==2.3.5", "openpyxl==3.1.5",
|
||||
"python-dateutil==2.9.0.post0", "tzdata==2026.3", "et-xmlfile",
|
||||
"websocket-client==1.9.0",
|
||||
@@ -191,7 +191,7 @@ Get-ChildItem -Path (Join-Path $Wb "shared") -Filter "*.py" | ForEach-Object {
|
||||
# ---------- 4. smoke test ----------
|
||||
Write-Host "=== smoke test ===" -ForegroundColor Cyan
|
||||
& $PyExe -c "import sys; print(' python:', sys.version.split()[0])" | Out-Host
|
||||
& $PyExe -c "import requests,pandas,numpy,openpyxl,websocket,dotenv,cryptography; print(' core deps ok')" | Out-Host
|
||||
& $PyExe -c "import requests,pandas,numpy,openpyxl,websocket,dotenv,cryptography,Crypto,cv2; print(' core deps ok')" | Out-Host
|
||||
if ($LASTEXITCODE -ne 0) { throw "core deps import failed" }
|
||||
& $PyExe -c "import DrissionPage; print(' DrissionPage', DrissionPage.__version__)" | Out-Host
|
||||
& $PyExe -c "import ddddocr; print(' ddddocr ok')" | Out-Host
|
||||
|
||||
Reference in New Issue
Block a user