|
- <%@ language=vbscript codepage="65001" %>
- <%
- Response.Charset = "UTF-8"
-
- c_url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbe6da4af3e529e0c&redirect_uri=http%3A%2F%2Fwx.zhizhuchuxing.com%2Fcore%2Fgetwxuserinfo.asp&response_type=code&scope=snsapi_base&state=getopenid#wechat_redirect"
- ' response.redirect c_url
- ' Set objXML = CreateObject("Microsoft.XMLHTTP")
- ' objXML.open "GET",c_url,false
- ' objXML.send
- ' c_rtn = objXML.responseText
-
- ' response.write c_rtn
- ' response.write "AAA"
- %>
- {
- "code":"0",
- "info":"",
- "openid":"<%=c_rtn %>",
- "customer":[
- {"customer_id":"2","customer_name":"张三","customer_mobile":"13812345678","customer_idtype":"0","customer_idno":"310123456789012345"},
- {"customer_id":"3","customer_name":"李四","customer_mobile":"13812345679","customer_idtype":"0","customer_idno":"310123456789012346"},
- {"customer_id":"4","customer_name":"王五","customer_mobile":"13812345676","customer_idtype":"0","customer_idno":"310123456789012347"}
- ]
- }
|