| | |
| | | package request
|
| | |
|
| | | type AddClient struct {
|
| | | Client
|
| | | }
|
| | |
|
| | | type Client struct {
|
| | | Name string `json:"name"` // 公司名称
|
| | | Number string `json:"number"` // 公司编号
|
| | | ClientStatusId int `json:"client_status_id"` // 客户状态ID
|
| | | ClientTypeId int `json:"client_type_id"` // 客户类型ID
|
| | | ClientOriginId int `json:"client_origin_id"` // 客户来源ID
|
| | | ClientLevelId int `json:"client_level_id"` // 客户等级ID
|
| | | MemberId int `json:"member_id"` // 销售负责人ID
|
| | | ServiceMemberId int `json:"service_member_id"` // 服务负责人ID
|
| | | DetailAddress string `json:"detail_address"` // 详细地址
|
| | | Remark string `json:"remark"` // 备注
|
| | | NextVisitTime string `json:"next_visit_time"` // 下次回访时间
|
| | | LatestServiceTime string `json:"latest_service_time"` // 最晚服务时间
|
| | | Contact Contact `json:"contact"`
|
| | | SalesLeadsId int `json:"sales_leads_id"` // 销售线索ID
|
| | | Address
|
| | | Business
|
| | | }
|
| | |
|
| | | type UpdateClient struct {
|
| | | Id int `json:"id"`
|
| | | Client
|
| | | }
|
| | |
|
| | | type GetClientList struct {
|
| | | PageInfo
|
| | | SearchMap map[string]interface{} `json:"search_map"`
|
| | | }
|
| | |
|
| | | type DeleteClient struct {
|
| | | Ids []int `json:"ids"`
|
| | | }
|
| | | package request |
| | | |
| | | type AddClient struct { |
| | | Client |
| | | } |
| | | |
| | | type Client struct { |
| | | Name string `json:"name"` // 公司名称 |
| | | Number string `json:"number"` // 公司编号 |
| | | ClientStatusId int `json:"client_status_id"` // 客户状态ID |
| | | ClientTypeId int `json:"client_type_id"` // 客户类型ID |
| | | ClientOriginId int `json:"client_origin_id"` // 客户来源ID |
| | | ClientLevelId int `json:"client_level_id"` // 客户等级ID |
| | | MemberId int `json:"member_id"` // 销售负责人ID |
| | | ServiceMemberId int `json:"service_member_id"` // 服务负责人ID |
| | | DetailAddress string `json:"detail_address"` // 详细地址 |
| | | Remark string `json:"remark"` // 备注 |
| | | NextVisitTime string `json:"next_visit_time"` // 下次回访时间 |
| | | LatestServiceTime string `json:"latest_service_time"` // 最晚服务时间 |
| | | Contact Contact `json:"contact"` |
| | | SalesLeadsId int `json:"sales_leads_id"` // 销售线索ID |
| | | Address |
| | | Business |
| | | } |
| | | |
| | | type UpdateClient struct { |
| | | Id int `json:"id"` |
| | | Client |
| | | } |
| | | |
| | | type GetClientList struct { |
| | | PageInfo |
| | | SearchMap map[string]interface{} `json:"search_map"` // 搜索条件: map[string]interface{}{"name": "xxx"}; "not_contact": 超过15天未联系; "public_sea": 公海客户 |
| | | } |
| | | |
| | | type DeleteClient struct { |
| | | Ids []int `json:"ids"` |
| | | } |