Skip to content

Commit

Permalink
增加 user info
Browse files Browse the repository at this point in the history
  • Loading branch information
tangwenru committed Nov 17, 2023
1 parent 8412bba commit 6df42a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ func (this *User) Detail(userId int64) (error, *UserDetail) {
return errors.New(userDetailResult.Message), &userDetail
}

return err, &userDetail
return err, &userDetailResult.Data
}

0 comments on commit 6df42a4

Please sign in to comment.