From 747e890bdae1e5f894a4959d84853e74017ff91b Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期二, 08 八月 2023 14:28:04 +0800
Subject: [PATCH] fix

---
 model/request/salesLeads.go |   71 ++++++++++++++++++++---------------
 1 files changed, 40 insertions(+), 31 deletions(-)

diff --git a/model/request/salesLeads.go b/model/request/salesLeads.go
index 5f95598..d664c8b 100644
--- a/model/request/salesLeads.go
+++ b/model/request/salesLeads.go
@@ -1,31 +1,40 @@
-package request
-
-type AddSalesLeads struct {
-	SalesLeads
-}
-
-type SalesLeads struct {
-	Name            string `json:"name"`             // 鍏徃鍚嶇О
-	Number          string `json:"number"`           // 閿�鍞嚎绱㈢紪鍙�
-	ContactName     string `json:"contact_name"`     // 鑱旂郴浜哄鍚�
-	ContactPhone    string `json:"contact_phone"`    // 鑱旂郴浜虹數璇�
-	ContactPosition string `json:"contact_position"` // 鑱旂郴浜鸿亴浣�
-	SalesSourcesId  int    `json:"sales_sources_id"` // 鍟嗘満鏉ユ簮ID
-	MemberId        int    `json:"member_id"`        // 閿�鍞礋璐d汉ID
-	Desc            string `json:"desc"`             // 澶囨敞
-	Address
-}
-
-type UpdateSalesLeads struct {
-	Id int `json:"id"`
-	SalesLeads
-}
-
-type GetSalesLeadsList struct {
-	PageInfo
-	Keyword string `json:"keyword"`
-}
-
-type DeleteSalesLeads struct {
-	Ids []int `json:"ids"`
-}
+package request
+
+import "aps_crm/constvar"
+
+type AddSalesLeads struct {
+	SalesLeads
+}
+
+type SalesLeads struct {
+	Name            string `json:"name"`             // 鍏徃鍚嶇О
+	Number          string `json:"number"`           // 閿�鍞嚎绱㈢紪鍙�
+	ContactName     string `json:"contact_name"`     // 鑱旂郴浜哄鍚�
+	ContactPhone    string `json:"contact_phone"`    // 鑱旂郴浜虹數璇�
+	ContactPosition string `json:"contact_position"` // 鑱旂郴浜鸿亴浣�
+	SalesSourcesId  int    `json:"sales_sources_id"` // 鍟嗘満鏉ユ簮ID
+	MemberId        int    `json:"member_id"`        // 閿�鍞礋璐d汉ID
+	Desc            string `json:"desc"`             // 澶囨敞
+	Address
+}
+
+type UpdateSalesLeads struct {
+	Id int `json:"id"`
+	SalesLeads
+}
+
+type GetSalesLeadsList struct {
+	PageInfo
+	Keyword string `json:"keyword"`
+}
+
+type DeleteSalesLeads struct {
+	Ids []int `json:"ids"`
+}
+
+// swagger:model PushSalesLeads
+type PushSalesLeads struct {
+	Id     int                  `json:"id"`
+	Step   constvar.SalesStatus `json:"step"` // 鍟嗘満鐘舵��: 1: 璺熻繘涓�; -1:澶辫触
+	Reason string               `json:"reason"`
+}

--
Gitblit v1.8.0