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