app->singleton('Service\GoodsService', function () { return $this->app->make(GoodsService::class); }); $this->app->singleton('Service\PayService', function () { return $this->app->make(PayService::class); }); $this->app->singleton('Service\CarmisService', function () { return $this->app->make(CarmisService::class); }); $this->app->singleton('Service\OrderService', function () { return $this->app->make(OrderService::class); }); $this->app->singleton('Service\CouponService', function () { return $this->app->make(CouponService::class); }); $this->app->singleton('Service\OrderProcessService', function () { return $this->app->make(OrderProcessService::class); }); $this->app->singleton('Service\EmailtplService', function () { return $this->app->make(EmailtplService::class); }); $this->app->singleton('Jenssegers\Agent', function () { return $this->app->make(Agent::class); }); } /** * Bootstrap any application services. * * @return void */ public function boot() { } }