This commit is contained in:
2021-12-02 15:41:16 +08:00
parent 1189ab7b0c
commit 646f6b1258
-2
View File
@@ -33,8 +33,6 @@ class RpcManager
$file = storage('.rpc.clients.' . md5($serviceName), 'rpc');
if (!empty($body) && is_array($body)) {
var_dump($body, array_column($body, 'Service'));
file_put_contents($file, json_encode(array_column($body, 'Service')));
} else {
file_put_contents($file, json_encode([]));