微信小程序页面迁移校验之前 P5任务处理之前
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user