请问一下我要怎么修改才能 输出时间戳
aa.htm 页面代码如下:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body font-family: Verdana;"></body>
<script>
var a
document.write(Date.parse(new Date())/1000 ) ;
wx.config({
debug: false,
appId: 'wxf8b4f85f3a794e77',
timestamp:''+ a , //////Date.parse(new Date())/1000, // 1509793782,
nonceStr: 'VaXWpwDYGhndWzCP',
signature: '6523337fa46fb84f35731fce66d00c38042206a5',
jsApiList: [
'checkJsApi',
'scanQRCode',
]
});
</script>
</html>
此主题相关图片如下:11.png
[此贴子已经被作者于2017/11/7 16:35:53编辑过]