api/v1/contact.go
@@ -160,7 +160,7 @@ return } contacts, errCode := contactService.GetContactList(params.Page, params.PageSize, params.Keyword) contacts, total, errCode := contactService.GetContactList(params.Page, params.PageSize, params.Keyword) if errCode != ecode.OK { ctx.Fail(errCode) return @@ -168,6 +168,6 @@ ctx.OkWithDetailed(response.ContactResponse{ List: contacts, Count: len(contacts), Count: int(total), }) } }