fix client merge config bug

This commit is contained in:
dongwei 2019-03-18 17:49:51 +08:00
parent c9fa7757bd
commit 4daf42ffd4

View File

@ -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);