liukangdong
2024-07-22 8f59335879cf2d2f372380f511b2f6378738298a
wechat_jiaxuan/utils/request.js
@@ -36,6 +36,9 @@
                  }).then(res => {
                    console.log(res)
                    if (res && res.data.member) {
                      wx.switchTab({
                        url: '/pages/index/index',
                      })
                      wx.setStorageSync('member', res.data.member)
                      wx.setStorageSync('openid', res.data.member.openid)
                      wx.setStorageSync('sessionKey', res.data.sessionKey)