判断微信是否有安装
wx.miniapp.hasWechatInstall({ success: (res) => { console.log('getSDKVersion success:', res) } })
wx.miniapp.login wx.miniapp.getSDKVersion