提交 32561b60 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 d596e37f
...@@ -27,7 +27,7 @@ function useWXShare(data) { ...@@ -27,7 +27,7 @@ function useWXShare(data) {
fetch('https://node-server.ezijing.com/share/getsignature', { fetch('https://node-server.ezijing.com/share/getsignature', {
method: 'post', method: 'post',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: JSON.stringify({ appId: 'wxfe67f37095e08d2f', url: location.href.split('#').pop() }) body: new URLSearchParams({ appId: 'wxfe67f37095e08d2f', url: location.href.split('#').pop() })
}) })
.then(response => { .then(response => {
return response.json() return response.json()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论