|
@@ -123,8 +123,6 @@ export function getTicketFun(jsApiList = ['getLocation'], configType = 'config')
|
|
|
signature: qiyeData.signature, // 必填,签名,见附录-JS-SDK使用权限签名算法
|
|
signature: qiyeData.signature, // 必填,签名,见附录-JS-SDK使用权限签名算法
|
|
|
jsApiList: [...jsApiList], //必填,传入需要使用的接口名称
|
|
jsApiList: [...jsApiList], //必填,传入需要使用的接口名称
|
|
|
success: function (res) {
|
|
success: function (res) {
|
|
|
- console.log('获取签名成功');
|
|
|
|
|
- resolve('获取签名成功');
|
|
|
|
|
wx.onMenuShareAppMessage({
|
|
wx.onMenuShareAppMessage({
|
|
|
title: '企业微信',
|
|
title: '企业微信',
|
|
|
desc: '让每个企业都有自己的微信',
|
|
desc: '让每个企业都有自己的微信',
|
|
@@ -138,6 +136,8 @@ export function getTicketFun(jsApiList = ['getLocation'], configType = 'config')
|
|
|
// 用户取消分享后回调
|
|
// 用户取消分享后回调
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|
|
|
|
|
+ console.log('获取签名成功');
|
|
|
|
|
+ resolve('获取签名成功');
|
|
|
},
|
|
},
|
|
|
fail: function (res) {
|
|
fail: function (res) {
|
|
|
if (res.errMsg.indexOf('function not exist') > -1) {
|
|
if (res.errMsg.indexOf('function not exist') > -1) {
|