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