From c5a0eb549cba2cd358a2d0496c44f3a289f15d9c Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期一, 28 八月 2023 14:22:06 +0800
Subject: [PATCH] fix

---
 model/request/client.go |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/model/request/client.go b/model/request/client.go
index fb41a58..48caa0c 100644
--- a/model/request/client.go
+++ b/model/request/client.go
@@ -19,6 +19,7 @@
 	LatestServiceTime string  `json:"latest_service_time"` // 鏈�鏅氭湇鍔℃椂闂�
 	Contact           Contact `json:"contact"`
 	SalesLeadsId      int     `json:"sales_leads_id"` // 閿�鍞嚎绱D
+	ContactId         int     `json:"contact_id"`     // 鑱旂郴浜篒D
 	Address
 	Business
 }
@@ -30,9 +31,13 @@
 
 type GetClientList struct {
 	PageInfo
-	SearchMap map[string]interface{} `json:"search_map"` // 鎼滅储鏉′欢: map[string]interface{}{"name": "xxx"}; {"name": "瀹㈡埛鍚嶇О", "phone": "鎵嬫満鍙风爜", "detail_address":"璇︾粏鍦板潃", "next_visit_time":"涓嬪洖鍥炶鏃ユ湡", "member_name": "閿�鍞礋璐d汉", "client_status": "瀹㈡埛鐘舵��", "client_level": "閲嶈绾у埆"}
+	SearchMap map[string]interface{} `json:"search_map"` // 鎼滅储鏉′欢: map[string]interface{}{"name": "xxx"}; {"name": "瀹㈡埛鍚嶇О", "phone": "鎵嬫満鍙风爜", "detail_address":"璇︾粏鍦板潃", "next_visit_time":"涓嬪洖鍥炶鏃ユ湡", "member_name": "閿�鍞礋璐d汉", "client_status": "瀹㈡埛鐘舵��", "client_level": "閲嶈绾у埆","representative": "娉曞畾浠h〃浜�", "registration_time": "娉ㄥ唽鏃堕棿", "business_scope": "缁忚惀鑼冨洿", "remark": "澶囨敞", "not_admin":"1:鎴戠殑瀹㈡埛; 2:admin瀹㈡埛"}
 }
 
 type DeleteClient struct {
 	Ids []int `json:"ids"`
 }
+
+type CheckClientName struct {
+	Name string `json:"name"`
+}

--
Gitblit v1.8.0