1. For Wechat scanning, you need to follow the public account first, and then automatically jump to the specified url (opened in Wechat browser). )
private function receiverEvent($object){
$content = "";
switch($object->Event){
case "subscribe":
$content = ""."\n";
$content .= ""."\n";
$content .= "<a href="wwww.baidu.com">".""."</a>"."\n";
//
break;
case "unsubscribe":
$content = "";
break;
}//switch
$result = $this->transmitText($object,$content);
return $result;
}