改名
This commit is contained in:
+1
-3
@@ -50,9 +50,7 @@ class Client extends Component
|
||||
if ($isSend === false) {
|
||||
return $this->addError($this->client->errMsg . '(' . $this->client->errCode . ')');
|
||||
}
|
||||
defer(function () {
|
||||
$this->clientRecover();
|
||||
});
|
||||
defer(fn() => $this->clientRecover());
|
||||
if (is_bool($unpack = Json::decode($this->client->recv()))) {
|
||||
$unpack = $this->addError('Service return data format error(500)');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user