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/request/client.go | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/model/request/client.go b/model/request/client.go index d989869..540f3f3 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": 瀹㈡埛鍚嶇О; "number": 鍏捣瀹㈡埛 + 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": "閲嶈绾у埆"} } type DeleteClient struct { Ids []int `json:"ids"` } + +type CheckClientName struct { + Name string `json:"name"` +} -- Gitblit v1.8.0