Top forgetting to add r.Code = and r.Message =
This commit is contained in:
parent
ae743cb395
commit
d84aafebb7
|
@ -76,6 +76,9 @@ ORDER BY users_relationships.id`
|
|||
if err := results.Err(); err != nil {
|
||||
md.C.Error(err)
|
||||
}
|
||||
|
||||
r.Code = 200
|
||||
r.Data = myFriends
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user