|
|
@@ -110,7 +110,7 @@ export function getTicketFun(jsApiList = ['getLocation'], configType = 'config')
|
|
|
timestamp: qiyeData.timestamp, // 必填,生成签名的时间戳
|
|
|
nonceStr: qiyeData.nonceStr, // 必填,生成签名的随机串
|
|
|
signature: qiyeData.signature, // 必填,签名,见 附录-JS-SDK使用权限签名算法
|
|
|
- jsApiList: ['ready', 'onMenuShareAppMessage', ...jsApiList], // 必填,需要使用的JS接口列表,凡是要调用的接口都需要传进来
|
|
|
+ jsApiList: ['ready', ...jsApiList], // 必填,需要使用的JS接口列表,凡是要调用的接口都需要传进来
|
|
|
});
|
|
|
console.log('获取签名成功');
|
|
|
resolve('获取签名成功');
|
|
|
@@ -136,6 +136,7 @@ export function getTicketFun(jsApiList = ['getLocation'], configType = 'config')
|
|
|
} else {
|
|
|
console.log('获取签名失败');
|
|
|
reject('获取签名失败');
|
|
|
+ alert('获取签名失败');
|
|
|
}
|
|
|
});
|
|
|
});
|