作者 tangxuhui
@@ -118,5 +118,8 @@ func (srv UserService) UpdateUserBaseInfo(updateUserInfoCommand *command.UpdateU @@ -118,5 +118,8 @@ func (srv UserService) UpdateUserBaseInfo(updateUserInfoCommand *command.UpdateU
118 if err != nil { 118 if err != nil {
119 return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error()) 119 return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
120 } 120 }
121 - return struct{}{}, nil 121 + return map[string]interface{}{
  122 + "avatar": avatar,
  123 + "userName": userName,
  124 + }, nil
122 } 125 }