微信连WI-FI教程for Portal

 

 

<?php
$title = "xxx钢锅提供API接口";
$user_tel = "0571-xxxxxxxx";
$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");
?>

 

posted @ 2015-09-25 17:29  钢锅  阅读(2643)  评论(0编辑  收藏  举报