From bbe24137c96c17cd8d481e1dc58d4265ab8a24e8 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 08 八月 2023 09:43:50 +0800 Subject: [PATCH] 添加ignore --- model/response/response.go | 45 ++++++++++++++++++++++++++++++--------------- 1 files changed, 30 insertions(+), 15 deletions(-) diff --git a/model/response/response.go b/model/response/response.go index 3a75735..46774ab 100644 --- a/model/response/response.go +++ b/model/response/response.go @@ -52,7 +52,8 @@ } ClientResponse struct { - List []*model.Client `json:"list"` + List []*model.Client `json:"list"` + Count int `json:"count"` } ClientStatusResponse struct { @@ -97,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 { @@ -125,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 { @@ -173,7 +187,8 @@ } ServiceFeeManageResponse struct { - List []*model.ServiceFeeManage `json:"list"` + List []*model.ServiceFeeManage `json:"list"` + Count int `json:"count"` } MenuTreeResponse struct { -- Gitblit v1.8.0