mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-02 11:48:08 +08:00
Update json-rpc.md
This commit is contained in:
parent
077b662207
commit
777f7507cd
@ -163,6 +163,10 @@ return [
|
||||
'protocol' => 'consul',
|
||||
'address' => 'http://127.0.0.1:8500',
|
||||
],
|
||||
// 如果服务没有发布到consul, 则应指定RPC节点配置
|
||||
'nodes' => [
|
||||
['host' => '127.0.0.1', 'port' => 9504],
|
||||
],
|
||||
]
|
||||
],
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user