add soom log
This commit is contained in:
parent
871763db0b
commit
d237d10295
|
@ -9,7 +9,7 @@ use JsonRpc\Client;
|
||||||
class ClientServiceProvider extends ServiceProvider
|
class ClientServiceProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
|
|
||||||
protected $defer = true;
|
// protected $defer = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Register any application services.
|
* Register any application services.
|
||||||
|
@ -19,7 +19,7 @@ class ClientServiceProvider extends ServiceProvider
|
||||||
public function register()
|
public function register()
|
||||||
{
|
{
|
||||||
$this->app->configure('rpc');
|
$this->app->configure('rpc');
|
||||||
|
$this->app->log->info("call client service provider log");
|
||||||
$config = config('rpc.client');
|
$config = config('rpc.client');
|
||||||
|
|
||||||
$this->app->singleton('rpc', function () use ($config) {
|
$this->app->singleton('rpc', function () use ($config) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user