fix: resolve known issues and improve code standards

- Fix known bugs in user, plan, and server modules
- Standardize code formatting and structure
- Optimize database queries and model relationships
- Improve request validation and error handling
- Update admin controllers for better consistency
This commit is contained in:
xboard
2025-06-22 17:38:17 +08:00
parent 733cc7e9a5
commit 44d92ac1c6
20 changed files with 56 additions and 51 deletions

View File

@@ -16,7 +16,7 @@ class SettingServiceProvider extends ServiceProvider
public function register()
{
$this->app->scoped(Setting::class, function (Application $app) {
return new Setting();
return Setting::getInstance();
});
}