onLoad: function () {
//
wx.getSetting({
success: function (res) {
if (res.authSetting["scope.userInfo"]) {
wx.getUserInfo({
success: function (res) {
console.log("")
//
}
})
} else {
wx.navigateTo({
url: "../authorization/authorization"
})
console.log("")
//
}
}
})
}