zhangqian
2023-11-01 530fed8ec225453572d57b15c200ab062c335457
model/request/client.go
@@ -20,6 +20,7 @@
   Contact           Contact `json:"contact"`
   SalesLeadsId      int     `json:"sales_leads_id"` // 销售线索ID
   ContactId         int     `json:"contact_id"`     // 联系人ID
   CodeStandID       string  `json:"codeStandID"`    //编码id
   Address
   Business
}
@@ -31,7 +32,7 @@
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": "销售负责人", "client_status": "客户状态", "client_level": "重要级别","legal_representative": "法定代表人", "registration_time": "注册时间", "business_scope": "经营范围", "remark": "备注"}
   SearchMap map[string]interface{} `json:"search_map"` // 搜索条件: map[string]interface{}{"name": "xxx"}; {"name": "客户名称", "phone": "手机号码", "detail_address":"详细地址", "next_visit_time":"下回回访日期", "member_name": "销售负责人", "client_status": "客户状态", "client_level": "重要级别","representative": "法定代表人", "registration_time": "注册时间", "business_scope": "经营范围", "remark": "备注", "not_admin":"1:我的客户; 2:admin客户"}
}
type DeleteClient struct {