From cdb47d41f39a5c600caa41692c9b5b0732944d6a Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期二, 08 八月 2023 11:38:27 +0800
Subject: [PATCH] fix
---
model/request/salesLeads.go | 58 +++++++++++++++++++++++++++++++---------------------------
1 files changed, 31 insertions(+), 27 deletions(-)
diff --git a/model/request/salesLeads.go b/model/request/salesLeads.go
index 578feb7..5f95598 100644
--- a/model/request/salesLeads.go
+++ b/model/request/salesLeads.go
@@ -1,27 +1,31 @@
-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"`
-}
+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"`
+}
--
Gitblit v1.8.0