<?php $title = "xxx钢锅提供API接口"; $user_tel = "0571-83055016"; $add = "xxx杭州市智能家居开发公司"; ///////上面在关注前显示广告 $appId = "wx4d2b55b402aa8823"; $secretKey = "xxxxxxxxxxxxx"; $shopId = "7573697"; $ssid = "WXzhouein"; ////////根据微信平台portal方式开发凭证 $authUrl = "http://www.wmdfw.com/"; $mac = "00:b0:c6:09:64:78"; $bssid = "00:b0:c6:09:64:78"; $url = "http://www.wmdfw.com/wx/?title=".$title."&user_tel=".$user_tel."&add=".$add."&appid=".$appId."&secretkey=".$secretKey."&shopid=".$shopId."&ssid=".$ssid."&authurl=".$authUrl."&bssid=".$bssid."&mac=".$mac; echo $url; header("location: $url"); ?>