| 123456789101112131415161718192021222324252627 |
- <?php
- namespace App\Providers;
- use Carbon\Carbon;
- use Illuminate\Support\ServiceProvider;
- class AppServiceProvider extends ServiceProvider
- {
- /**
- * 注册服务
- */
- public function register(): void
- {
- //
- }
- /**
- * 启动服务
- */
- public function boot(): void
- {
- //
- // Carbon::setTi('Asia/Shanghai');
- }
- }
|