<script language="javascript">
$(function(){
wx.config({
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来。
appId: '<%=appid%>', // 必填,公众号的唯一标识
timestamp: '<%=con.getTimestamp()%>', // 必填,生成签名的时间戳
nonceStr: '<%=con.getNoncestr()%>', // 必填,生成签名的随机串
signature: '<%=con.getSignature()%>',// 必填,签名
jsApiList: ['checkJsApi',
'onMenuShareTimeline',
$(function(){
wx.config({
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来。
appId: '<%=appid%>', // 必填,公众号的唯一标识
timestamp: '<%=con.getTimestamp()%>', // 必填,生成签名的时间戳
nonceStr: '<%=con.getNoncestr()%>', // 必填,生成签名的随机串
signature: '<%=con.getSignature()%>',// 必填,签名
jsApiList: ['checkJsApi',
'onMenuShareTimeline',