api/v1/serviceFollowup.go
@@ -143,7 +143,7 @@ return } serviceFollowups, errCode := serviceFollowupService.GetServiceFollowupList(params.Page, params.PageSize, params.Keyword) serviceFollowups, total, errCode := serviceFollowupService.GetServiceFollowupList(params.Page, params.PageSize, params.Keyword) if errCode != ecode.OK { ctx.Fail(errCode) return @@ -151,6 +151,6 @@ ctx.OkWithDetailed(response.ServiceFollowupResponse{ List: serviceFollowups, Count: len(serviceFollowups), Count: int(total), }) } }