Scan the Wechat QR code to follow and jump to the page

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;
}
Apr.10,2022

Link and fill in the url of the page to be redirected

Menu