新版订单消耗系统

AppServiceProvider.php 498B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace App\Providers;
  3. use Illuminate\Support\ServiceProvider;
  4. class AppServiceProvider extends ServiceProvider
  5. {
  6. /**
  7. * Bootstrap any application services.
  8. *
  9. * @return void
  10. */
  11. public function boot()
  12. {
  13. if (env('FORCE_SCHEME_HTTPS', true) === true) {
  14. \URL::forceScheme('https');
  15. }
  16. }
  17. /**
  18. * Register any application services.
  19. *
  20. * @return void
  21. */
  22. public function register()
  23. {
  24. //
  25. }
  26. }