fix client merge config bug
This commit is contained in:
parent
c9fa7757bd
commit
4daf42ffd4
|
@ -16,7 +16,6 @@ class ClientServiceProvider extends BaseServiceProvider
|
||||||
public function register()
|
public function register()
|
||||||
{
|
{
|
||||||
parent::register();
|
parent::register();
|
||||||
$this->app->configure('rpc');
|
|
||||||
$config = config('rpc');
|
$config = config('rpc');
|
||||||
if (!is_array($config)) {
|
if (!is_array($config)) {
|
||||||
throw new RpcServerException("Application's Rpc Client Config Undefind", 500);
|
throw new RpcServerException("Application's Rpc Client Config Undefind", 500);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user