This commit is contained in:
2021-12-02 15:57:36 +08:00
parent 6fcd26f80f
commit a66de3f016
+1 -1
View File
@@ -61,7 +61,7 @@ class RpcManager
{
$file = storage('.rpc.clients.' . md5($serviceName), 'rpc');
if (!file_exists($file)) {
return [];
$this->tick();
}
$content = json_decode(file_get_contents($file), true);
if (empty($content) || !is_array($content)) {