From 9a7e0a7da01a9f9625ceaca0c61a59c540c6438f Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 18 八月 2023 17:32:10 +0800
Subject: [PATCH] fix

---
 model/response/response.go |   51 +++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 37 insertions(+), 14 deletions(-)

diff --git a/model/response/response.go b/model/response/response.go
index bb66ace..0c6991f 100644
--- a/model/response/response.go
+++ b/model/response/response.go
@@ -98,11 +98,13 @@
 	}
 
 	FollowRecordResponse struct {
-		List []*model.FollowRecord `json:"list"`
+		List  []*model.FollowRecord `json:"list"`
+		Count int                   `json:"count"`
 	}
 
 	SaleChanceResponse struct {
-		List []*model.SaleChance `json:"list"`
+		List  []*model.SaleChance `json:"list"`
+		Count int                 `json:"count"`
 	}
 
 	SaleStageResponse struct {
@@ -126,47 +128,58 @@
 	}
 
 	QuotationResponse struct {
-		List []*model.Quotation `json:"list"`
+		List  []*model.Quotation `json:"list"`
+		Count int                `json:"count"`
 	}
 
 	MasterOrderResponse struct {
-		List []*model.MasterOrder `json:"list"`
+		List  []*model.MasterOrder `json:"list"`
+		Count int                  `json:"count"`
 	}
 
 	SubOrderResponse struct {
-		List []*model.SubOrder `json:"list"`
+		List  []*model.SubOrder `json:"list"`
+		Count int               `json:"count"`
 	}
 
 	SalesDetailsResponse struct {
-		List []*model.SalesDetails `json:"list"`
+		List  []*model.SalesDetails `json:"list"`
+		Count int                   `json:"count"`
 	}
 
 	SalesReturnResponse struct {
-		List []*model.SalesReturn `json:"list"`
+		List  []*model.SalesReturn `json:"list"`
+		Count int                  `json:"count"`
 	}
 
 	SalesRefundResponse struct {
-		List []*model.SalesRefund `json:"list"`
+		List  []*model.SalesRefund `json:"list"`
+		Count int                  `json:"count"`
 	}
 
 	ContractResponse struct {
-		List []*model.Contract `json:"list"`
+		List  []*model.Contract `json:"list"`
+		Count int               `json:"count"`
 	}
 
 	PlanResponse struct {
-		List []*model.Plan `json:"list"`
+		List  []*model.Plan `json:"list"`
+		Count int           `json:"count"`
 	}
 
 	ServiceContractsResponse struct {
-		List []*model.ServiceContract `json:"list"`
+		List  []*model.ServiceContract `json:"list"`
+		Count int                      `json:"count"`
 	}
 
 	OrderManageResponse struct {
-		List []*model.OrderManage `json:"list"`
+		List  []*model.OrderManage `json:"list"`
+		Count int                  `json:"count"`
 	}
 
 	ServiceFollowupResponse struct {
-		List []*model.ServiceFollowup `json:"list"`
+		List  []*model.ServiceFollowup `json:"list"`
+		Count int                      `json:"count"`
 	}
 
 	CustomerServiceSheetResponse struct {
@@ -174,7 +187,8 @@
 	}
 
 	ServiceFeeManageResponse struct {
-		List []*model.ServiceFeeManage `json:"list"`
+		List  []*model.ServiceFeeManage `json:"list"`
+		Count int                       `json:"count"`
 	}
 
 	MenuTreeResponse struct {
@@ -330,4 +344,13 @@
 	CurrencyResponse struct {
 		List []*model.Currency `json:"list"`
 	}
+
+	CollectionProjectionListResponse struct {
+		List  []*model.CollectionProjection `json:"list"`
+		Count int                           `json:"count"`
+	}
+
+	ContactInformationResponse struct {
+		List []*model.ContactInformation `json:"list"`
+	}
 )

--
Gitblit v1.8.0