Commit 01f948fd authored by chenchuanwen's avatar chenchuanwen

push

parent 981153dc
...@@ -24,6 +24,9 @@ function printTest($meg){ ...@@ -24,6 +24,9 @@ function printTest($meg){
echo $meg.'213'; echo $meg.'213';
} }
function callback($instance,$channelName,$message){ function callback($instance,$channelName,$message){
$instance->unsubscribe(array($channelName)); if($message=='outPid'){
//printTest($message); $instance->unsubscribe(array($channelName));
return;
}
printTest($message);
} }
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