Merge branch 'dev' of http://gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway into dev
正在显示
1 个修改的文件
包含
4 行增加
和
1 行删除
@@ -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 | } |
-
请 注册 或 登录 后发表评论