提交 b8372505 编写于 作者: ping zhang's avatar ping zhang

微信内打开app

上级 8604df09
......@@ -12,7 +12,7 @@ export const wxConfig = () => {
*/
let type = '&type=' + getWxType(); // type不同,对应的appid不一样,15为线上
let cCurl= location.href;
const url = cCurl.split('#');
const url = cCurl.split('#')[0];
console.log('获取签名的url => ', url);
request({ url: `https://sc.yunqueyi.com/wechats/signs?url=${encodeURIComponent(url)}${type}` }).then(res => {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册