@ -30,6 +30,7 @@ Page({
wx.setStorageSync('avatarUrl', avatarUrl)
wx.setStorageSync('nickName', nickName)
console.log('成功',res)
wx.cloud.database().collection('user').add({
data: {
userInfo:user,