api nil slice map

This commit is contained in:
withchao
2023-07-06 15:09:41 +08:00
parent ff22ea7108
commit f6756008b0
5 changed files with 21 additions and 13 deletions
+1 -3
View File
@@ -48,9 +48,7 @@ func (o *FriendApi) AddBlack(c *gin.Context) {
}
func (o *FriendApi) GetPaginationBlacks(c *gin.Context) {
a2r.Call(friend.FriendClient.GetPaginationBlacks, o.Client, c, func(resp *friend.GetPaginationBlacksResp) {
a2r.List(&resp.Blacks)
})
a2r.Call(friend.FriendClient.GetPaginationBlacks, o.Client, c)
}
func (o *FriendApi) RemoveBlack(c *gin.Context) {