改名
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ class RpcManager
|
|||||||
{
|
{
|
||||||
$file = storage('.rpc.clients.' . md5($serviceName), 'rpc');
|
$file = storage('.rpc.clients.' . md5($serviceName), 'rpc');
|
||||||
if (!file_exists($file)) {
|
if (!file_exists($file)) {
|
||||||
return [];
|
$this->tick();
|
||||||
}
|
}
|
||||||
$content = json_decode(file_get_contents($file), true);
|
$content = json_decode(file_get_contents($file), true);
|
||||||
if (empty($content) || !is_array($content)) {
|
if (empty($content) || !is_array($content)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user