From 460e591f215fe64d6a097ff4b1ee836d181298ac Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期五, 11 八月 2023 16:12:38 +0800 Subject: [PATCH] fix --- api/v1/quotation.go | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/api/v1/quotation.go b/api/v1/quotation.go index 3a8dd0e..b436336 100644 --- a/api/v1/quotation.go +++ b/api/v1/quotation.go @@ -98,7 +98,6 @@ ctx.Ok() } - // checkQuotationParams func checkQuotationParams(quotation request.Quotation) (int, model.Quotation) { var errCode int @@ -129,6 +128,8 @@ errCode = ecode.InvalidParams return errCode, quotationModel } + + // 灏嗘椂闂村瓧绗﹁浆鎹负鏃堕棿绫诲瀷 quotationModel.ValidityDate = t quotationModel.ClientId = quotation.ClientId @@ -166,7 +167,7 @@ } ctx.OkWithDetailed(response.QuotationResponse{ - List: quotations, + List: quotations, Count: int(total), }) -} \ No newline at end of file +} -- Gitblit v1.8.0