api/v1/quotation.go
@@ -159,7 +159,7 @@ return } quotations, errCode := quotationService.GetQuotationList(params.Page, params.PageSize, params.Keyword) quotations, total, errCode := quotationService.GetQuotationList(params.Page, params.PageSize, params.Keyword) if errCode != ecode.OK { ctx.Fail(errCode) return @@ -167,6 +167,6 @@ ctx.OkWithDetailed(response.QuotationResponse{ List: quotations, Count: len(quotations), Count: int(total), }) } }