aa
jiangping
2024-08-01 f4f2891ac617aca6e2a5f1dc8f86ba3f054e3392
wechat_jiaxuan/app.js
@@ -30,14 +30,13 @@
        var userId = null
        if (op.query.scene) {
          let temp = op.query.scene.split('_')
          userId = temp[2]
          userId = temp[2]
        }
        if (res.code) {
          //发起网络请求
          wxLoginCustomer({
            code: res.code,
            userId
            userId
          }).then(res => {
            wx.setStorageSync('token', res.data.token)
            this.globalData.token = res.data.token
@@ -63,9 +62,7 @@
      fail(err) {
        console.log(err)
      }
    })
    })
  }
})