Update json-rpc.md

This commit is contained in:
张城铭 2019-07-02 14:02:12 +08:00 committed by GitHub
parent 077b662207
commit 777f7507cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,6 +163,10 @@ return [
'protocol' => 'consul',
'address' => 'http://127.0.0.1:8500',
],
// 如果服务没有发布到consul, 则应指定RPC节点配置
'nodes' => [
['host' => '127.0.0.1', 'port' => 9504],
],
]
],
];