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