Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置文件的填写 #51

Open
CocaCola183 opened this issue Jan 10, 2015 · 3 comments
Open

配置文件的填写 #51

CocaCola183 opened this issue Jan 10, 2015 · 3 comments

Comments

@CocaCola183
Copy link

wx.config({
debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId: '', // 必填,公众号的唯一标识
timestamp: , // 必填,生成签名的时间戳
nonceStr: '', // 必填,生成签名的随机串
signature: '',// 必填,签名,见附录1
jsApiList: [] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2
});

请问appid和签名应该写什么呢?哪些随机生成的东西应该怎么生成呢?
为什么这个链接http://news.qq.com/zt2014/patients/mobile.html貌似没有做这些配置,显示的一样是正确的内容呢?大神们急救啊

@jlala
Copy link

jlala commented Jan 10, 2015

附录8-DEMO页面和示例代码 你写写看呢?

@binsee
Copy link

binsee commented Jan 10, 2015

@jlala
Copy link

jlala commented Jan 10, 2015

有node.js 的参考实例吗? 完整的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants