feature: keep sidebar and add service layer

This commit is contained in:
antv
2026-06-30 11:59:34 +07:00
parent 8a77324f89
commit c5016489ac
54 changed files with 1181 additions and 284 deletions
+9 -7
View File
@@ -2,21 +2,23 @@
namespace App\Providers;
use App\Services\Admin\AdminService;
use App\Services\Admin\Contracts\AdminServiceInterface;
use App\Services\Auth\AuthService;
use App\Services\Auth\Contracts\AuthServiceInterface;
use App\Services\User\Contracts\UserServiceInterface;
use App\Services\User\UserService;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
$this->app->bind(AuthServiceInterface::class, AuthService::class);
$this->app->bind(AdminServiceInterface::class, AdminService::class);
$this->app->bind(UserServiceInterface::class, UserService::class);
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
//