|
@@ -219,6 +219,7 @@
|
|
uni.setStorageSync('userInfo', res.data)
|
|
uni.setStorageSync('userInfo', res.data)
|
|
that.$store.commit('login', res.data)
|
|
that.$store.commit('login', res.data)
|
|
e.userInfo.nickname = e.userInfo.nickName
|
|
e.userInfo.nickname = e.userInfo.nickName
|
|
|
|
+ e.userInfo.cid = uni.getStorageSync("clientId")
|
|
that.$api.request('user', 'syncUserInfo', e.userInfo).then(syncRes => {
|
|
that.$api.request('user', 'syncUserInfo', e.userInfo).then(syncRes => {
|
|
//同步过后
|
|
//同步过后
|
|
res.data.nickname = e.userInfo.nickName
|
|
res.data.nickname = e.userInfo.nickName
|
|
@@ -341,6 +342,7 @@
|
|
uni.setStorageSync('userInfo', res.data)
|
|
uni.setStorageSync('userInfo', res.data)
|
|
that.$store.commit('login', res.data)
|
|
that.$store.commit('login', res.data)
|
|
e.userInfo.nickname = e.userInfo.nickName
|
|
e.userInfo.nickname = e.userInfo.nickName
|
|
|
|
+ e.userInfo.cid = uni.getStorageSync("clientId")
|
|
console.log(e.userInfo)
|
|
console.log(e.userInfo)
|
|
that.$api.request('user', 'syncUserInfo', e.userInfo).then(syncRes => {
|
|
that.$api.request('user', 'syncUserInfo', e.userInfo).then(syncRes => {
|
|
//同步过后
|
|
//同步过后
|
|
@@ -423,6 +425,8 @@
|
|
if(res.data.unionId){
|
|
if(res.data.unionId){
|
|
that.userInfo.unionId = res.data.unionId
|
|
that.userInfo.unionId = res.data.unionId
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ that.userInfo.cid = uni.getStorageSync("clientId")
|
|
console.log(that.userInfo)
|
|
console.log(that.userInfo)
|
|
that.$api.request('user', 'syncUserInfo', that.userInfo).then(syncRes => {
|
|
that.$api.request('user', 'syncUserInfo', that.userInfo).then(syncRes => {
|
|
uni.setStorageSync('userInfo', that.userInfo)
|
|
uni.setStorageSync('userInfo', that.userInfo)
|
|
@@ -547,6 +551,7 @@
|
|
if(e.userInfo.phone == undefined){
|
|
if(e.userInfo.phone == undefined){
|
|
e.userInfo.phone = ''
|
|
e.userInfo.phone = ''
|
|
}
|
|
}
|
|
|
|
+ e.userInfo.cid = uni.getStorageSync("clientId")
|
|
console.log(e.userInfo)
|
|
console.log(e.userInfo)
|
|
that.$api.request('user', 'syncUserInfo', e.userInfo).then(syncRes => {
|
|
that.$api.request('user', 'syncUserInfo', e.userInfo).then(syncRes => {
|
|
//同步过后
|
|
//同步过后
|
|
@@ -630,6 +635,7 @@
|
|
if(proRes.userInfo.phone == undefined){
|
|
if(proRes.userInfo.phone == undefined){
|
|
proRes.userInfo.phone = ''
|
|
proRes.userInfo.phone = ''
|
|
}
|
|
}
|
|
|
|
+ res.data.cid = uni.getStorageSync("clientId")
|
|
that.$api.request('user', 'syncUserInfo', res.data).then(syncRes => {
|
|
that.$api.request('user', 'syncUserInfo', res.data).then(syncRes => {
|
|
//同步过后
|
|
//同步过后
|
|
res.data.nickname = proRes.userInfo.nickName
|
|
res.data.nickname = proRes.userInfo.nickName
|
|
@@ -746,6 +752,7 @@
|
|
uni.setStorageSync('userInfo', res.data)
|
|
uni.setStorageSync('userInfo', res.data)
|
|
that.$store.commit('login', res.data)
|
|
that.$store.commit('login', res.data)
|
|
e.userInfo.nickname = e.userInfo.nickName
|
|
e.userInfo.nickname = e.userInfo.nickName
|
|
|
|
+ e.userInfo.cid = uni.getStorageSync("clientId")
|
|
console.log(e.userInfo)
|
|
console.log(e.userInfo)
|
|
that.$api.request('user', 'syncUserInfo', e.userInfo).then(syncRes => {
|
|
that.$api.request('user', 'syncUserInfo', e.userInfo).then(syncRes => {
|
|
//同步过后
|
|
//同步过后
|