Commit 8623f0ec authored by christ's avatar christ

message

parent debdb746
......@@ -303,6 +303,9 @@ $serv->on('Close', function($server, $fd) use($conf){
});
function responseJson($status = 1,$method, $message = '', $data = array()) {
if(!$message){
$message=new \stdClass();
}
$data = [
'status' => $status,
'method'=>$method,
......
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