| | |
| | | import { setSessionGuid } from "./userAction" |
| | | import { |
| | | setSessionGuid |
| | | } from "./userAction" |
| | | |
| | | |
| | | export const loginInfo = (app, callback) => { |
| | |
| | | } |
| | | url += "?" + option |
| | | } |
| | | debugger |
| | | console.log(url); |
| | | wx.navigateTo({ |
| | | url: "/pages/bindInfo/index?page=" + encodeURIComponent(url), |
| | |
| | | let defaultUser = {}; |
| | | let WeChatInfo = res.infoList.find((item) => item.type === "WeChat"); |
| | | let phoneNumber = res.secretList.find(i => i.type == 'MobilePhone') |
| | | |
| | | if (WeChatInfo) { |
| | | defaultUser = { |
| | | nickName: WeChatInfo.name, |
| | | avatarUrl: WeChatInfo.icon, |
| | | weChatId: WeChatInfo.id |
| | | weChatId: WeChatInfo.id, |
| | | userId: res.userId, |
| | | } |
| | | } |
| | | if (phoneNumber) { |