提交 63f15639 authored 作者: lihuihui's avatar lihuihui

授权文件添加

上级 9a572fda
...@@ -8,7 +8,7 @@ export default function useWXShare() { ...@@ -8,7 +8,7 @@ export default function useWXShare() {
}) })
.then(result => { .then(result => {
wx.config({ wx.config({
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId: 'wxa41d0081d4889921', // 必填,公众号的唯一标识 appId: 'wxa41d0081d4889921', // 必填,公众号的唯一标识
timestamp: result.timestamp, // 必填,生成签名的时间戳 timestamp: result.timestamp, // 必填,生成签名的时间戳
nonceStr: result.noncestr, // 必填,生成签名的随机串 nonceStr: result.noncestr, // 必填,生成签名的随机串
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论