<%@ language=vbscript codepage="65001" %> <% Response.Charset = "UTF-8" c_prodcode = deal_str_beforesql(request("prod_code")) c_detailpage = "" csql = "select top 1 wx_show_page from circuit where circuitcode='" & c_prodcode & "'" set rs=conn.execute(csql) if not rs.eof then c_detailpage = rs("wx_show_page") rs.close if c_detailpage="" then c_detailpage="proddetail" response.cookies("m_prod_code") = c_prodcode c_url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxadfcc2db38e68fbf&redirect_uri=http%3A%2F%2Fxmwxc.zhizhuchuxing.cn%2Fcore%2Fgetwxuserinfo.asp&response_type=code&scope=snsapi_base&state=" & c_detailpage & "#wechat_redirect" ' c_url = "/details.html?prod_code=" & c_prodcode ' response.write c_url response.redirect c_url %>