Commit 9777a7a3 authored by wwccw0591's avatar wwccw0591

pc

parent 25937ba5
......@@ -187,7 +187,7 @@ $tcp_server->on('connect', function($serv, $fd) use($conf){
* 4. 按照用户类型(channel)推送
*/
$tcp_server->on('receive', function($serv, $fd, $from_id, $data) use($conf) {
echo $data;
// echo $data;
$data = json_decode($data, true);
var_dump($data);
if(empty($data['data']) && !isset($data['data'])){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment