wx.config({
debug: true,
appId: 'myAppid',
timestamp: Math.floor(Date.now() / 1000),
noncestr: '',
signature: '',
jsApiList: [
'startRecord',
'stopRecord',
'translateVoice',
'onVoiceRecordEnd',
'playVoice',
'pauseVoice',
'stopVoice',
'onVoicePlayEnd',
'uploadVoice',
'updateTimelineShareData',
'checkJsApi',
],
})
只针对开放标签免鉴权,wx.chooseImage还是需要鉴权的