IPhone does not parse the a tag in Wechat's customer service message.

the official account customer service message sent by Wechat, iPhone cannot parse a tag, Android can, but it is normal for iPhone to click on

$text= " createMobileUrl ("detail",array (" id"= > $id)), 2)."> Congratulations! event [. $hd ["hdname"]."]. "sign up successfully, click to view the registration details!" ;

                            $text=urlencode($text);

                            $access_token = WeAccount::token();

                            $data = array(

                                "touser"=>$temp_member["from_user"],

                                "msgtype"=>"text",

                                "text"=>array("content"=>$text)

                            );

                            $url = "https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token={$access_token}";

                            load()->func("communication");

                            $response = ihttp_request($url, urldecode(json_encode($data)));

Menu