|
@@ -47,6 +47,8 @@ class WSDBridge
|
|
|
if (!empty($body)) {
|
|
|
Log::record("req:{$body}", Log::DEBUG);
|
|
|
$resp = $this->relay_request($body);
|
|
|
+ Log::record("resp={$resp}",Log::ERR);
|
|
|
+
|
|
|
$resp = mb_convert_encoding($resp, 'GBK', 'UTF-8');
|
|
|
socket_write($client, $resp);
|
|
|
Log::record("resp:{$resp}", Log::DEBUG);
|