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 8804a57 commit 8412bba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ func init() {
func (this *User) Detail(userId int64) (error, *UserDetail) {
userDetailResult := UserDetailResult{}
query := map[string]string{}
bytesResult, err := component_ktv_ai_lib.MainSystem(userId, "user/info", &query, &userDetailResult)
_, err := component_ktv_ai_lib.MainSystem(userId, "user/info", &query, &userDetailResult)

userDetail := UserDetail{}
if err != nil {
fmt.Println("user info:", string(bytesResult))
fmt.Println("user info err:", err)
return err, &userDetail
}

Expand Down

0 comments on commit 8412bba

Please sign in to comment.