if($postObj->Event == 'CLICK' && $postObj->EventKey == 'tel'){
                $toUser = $postObj->FromUserName;
                $fromUser = $postObj->ToUserName;
                $time = time();
                $Msgtype = 'text';
                //$Content = $postObj->FromUserName;
                $Content = "如果您想通过APP解决问题,可以打开陪它APP,点击设置中心的问题反馈即可将您的问题及时反馈给我们。\n\n 如果您想咨询电话客服,可以拨打400-902-7011(服务时间:9:00-18:00) \n\n 此外,您可以填写APP上的问卷调查帮助我们更好的改善APP功能。<a href='https://www.peita.net'>进入官网</a>";
                $template = "<xml>
                            <ToUserName><![CDATA[%s]]></ToUserName>
                            <FromUserName><![CDATA[%s]]></FromUserName>
                            <CreateTime>%s</CreateTime>
                            <MsgType><![CDATA[%s]]></MsgType>
                            <Content><![CDATA[%s]]></Content>
                            </xml>";
                $info = sprintf($template,$toUser,$fromUser,$time,$Msgtype,$Content);
                echo $info;
            }

 

相关文章:

  • 2021-11-29
  • 2021-06-26
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
  • 2021-11-18
  • 2021-12-20
  • 2021-12-05
猜你喜欢
  • 2021-12-06
  • 2022-01-01
  • 2022-12-23
  • 2021-12-06
  • 2021-12-08
相关资源
相似解决方案