🚀 Refactor Blade

- Optimize Blade JavaScript code.
- Refactored multiple admin controllers for improved validation, error handling, and query efficiency.
- Added ProxyConfig trait to centralize proxy configuration options.
- Updated NodeStatusDetection to use model relationships for heartbeat checks.
- Improved category, label, and country management logic and error logging.
- Added new Blade components for admin UI and updated language files and assets for better localization and frontend support.
- Bug fixed & introduced more bug :)
This commit is contained in:
BrettonYe
2025-08-24 11:59:33 +08:00
committed by BrettonYe
parent 572751e135
commit ad3662cda0
232 changed files with 14634 additions and 16724 deletions

View File

@@ -24,9 +24,7 @@ class ArticleController extends Controller
}
public function show(Article $article): JsonResponse
{ // 公告详情
$articleService = new ArticleService($article);
return response()->json(['title' => $article->title, 'content' => $articleService->getContent()]);
{ // 文章详情
return response()->json(['title' => $article->title, 'content' => (new ArticleService($article))->getContent()]);
}
}