|
@@ -106,11 +106,11 @@ Success: |
|
@@ -106,11 +106,11 @@ Success: |
106
|
userAuth.AuthCode = uid.NewV1().StringNoDash()
|
106
|
userAuth.AuthCode = uid.NewV1().StringNoDash()
|
107
|
|
107
|
|
108
|
/*更新用户信息*/
|
108
|
/*更新用户信息*/
|
109
|
- user.CsAccount, _ = strconv.ParseInt(getUserResponse.CustomerAccount, 10, 64)
|
109
|
+ user.CsAccount = getUserResponse.CustomerAccount
|
110
|
user.ImToken = getUserResponse.ImToken
|
110
|
user.ImToken = getUserResponse.ImToken
|
111
|
user.Icon = getUserResponse.Avatar
|
111
|
user.Icon = getUserResponse.Avatar
|
112
|
user.NickName = getUserResponse.NickName
|
112
|
user.NickName = getUserResponse.NickName
|
113
|
- user.Accid, _ = strconv.ParseInt(getUserResponse.Accid, 10, 64)
|
113
|
+ user.Accid = getUserResponse.Accid
|
114
|
user.UserCenterId = getUserResponse.Id
|
114
|
user.UserCenterId = getUserResponse.Id
|
115
|
if err = models.UpdateUsersById(user); err != nil {
|
115
|
if err = models.UpdateUsersById(user); err != nil {
|
116
|
log.Error(err)
|
116
|
log.Error(err)
|