let pages = getCurrentPages();
let curPage = pages[pages.length - 1];
let curParam = curPage.$route.query || curPage.options;//----??什么区别????次序颠倒一下测试!!!这里curPage.options放前面有时有错误
console.log('oauth---start---' + uri);
console.log(curParam);// 从/pages/mine/index 页面授权抓取不到openid
const { openid } = curParam //获取链接里面openid