zhangqian
2023-08-03 a89c3af49d0be3e635ef13b3bd3dd9410e4d6d46
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),
   })
}
}