feat: Introduce new modules for permission management and proxy pool functionality.

This commit is contained in:
2026-02-13 04:29:10 +08:00
parent f9b78640b5
commit 6dc8964700
2 changed files with 4 additions and 2 deletions

View File

@@ -8,7 +8,8 @@ import json
import threading
from pathlib import Path
_PERM_FILE = Path(__file__).parent / "permissions.json"
_PROJECT_ROOT = Path(__file__).parent.parent
_PERM_FILE = _PROJECT_ROOT / "permissions.json"
_lock = threading.Lock()
# 所有可用命令列表(用于验证输入)