微信小程序页面迁移校验之前 P5任务处理之前

This commit is contained in:
Neo
2026-03-09 01:19:21 +08:00
parent 263bf96035
commit 6e20987d2f
1112 changed files with 153824 additions and 219694 deletions

View File

@@ -17,12 +17,13 @@ import psutil
from fastapi import APIRouter, HTTPException
from pydantic import BaseModel
from ..config import OPS_SERVER_BASE
router = APIRouter(prefix="/api/ops", tags=["运维面板"])
# ---- 环境定义 ----
# 服务器上的两套环境;开发机上回退到本机路径(方便调试)
_SERVER_BASE = Path("D:/NeoZQYY")
# CHANGE 2026-03-04 | 从 config 读取,消除硬编码 D 盘路径
_SERVER_BASE = Path(OPS_SERVER_BASE)
ENVIRONMENTS: dict[str, dict[str, Any]] = {
"test": {