🚀 update README.md and fix a bug.

This commit is contained in:
jerry
2018-12-15 00:23:23 +08:00
parent 132cf55a2a
commit 52cc7b1db7
2 changed files with 5 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ class WSMessageEvent extends ServerEvent
];
StatusParser::parse($response, $origin);
if ($origin["func"] !== null)
call_user_func($origin["func"], $response, $origin);
call_user_func($origin["func"], $response, $origin, $conn);
Cache::removeKey("sent_api", $req["echo"]);
}
}