refactor backend module architecture

This commit is contained in:
jxxghp
2026-08-14 15:45:38 +08:00
parent 557cc0e2e3
commit 7b3444c366
716 changed files with 10378 additions and 7709 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ python <skill_dir>/scripts/submit_feedback_issue.py \
--username "<current admin username if known>"
```
The script automatically imports MoviePilot's `app.core.config.settings`
The script automatically imports MoviePilot's `app.platform.config.settings`
and reads the system-configured `GITHUB_TOKEN` / `settings.GITHUB_HEADERS`
from the running MoviePilot environment. Do not ask the user to provide
a GitHub token in chat, and never accept or echo a token from the user.
@@ -28,7 +28,7 @@ REPO_ROOT = _find_repo_root()
if str(REPO_ROOT) not in sys.path:
sys.path.insert(0, str(REPO_ROOT))
from app.core.config import settings # noqa: E402
from app.platform.config import settings # noqa: E402
FEEDBACK_REPO_OWNER = "jxxghp"
@@ -36,7 +36,7 @@ from feedback_issue_common import (
validate_enum,
validate_target_repo_for_issue,
)
from app.utils.http import RequestUtils
from app.foundation.http import RequestUtils
REQUIRED_PAYLOAD_FIELDS = (