| | |
| | | "constvar.SalesStatus": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | -1, |
| | | 0, |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4, |
| | | 5 |
| | | -1 |
| | | ], |
| | | "x-enum-comments": { |
| | | "SalesStatusFail": "失败", |
| | |
| | | "SalesStatusSuccess": "成功" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "SalesStatusFail", |
| | | "SalesStatusNew", |
| | | "SalesStatusIng", |
| | | "SalesStatusSuccess", |
| | | "SalesStatusLevelUptoClient", |
| | | "SalesStatusLevelUptoClientAndSalesChance" |
| | | "SalesStatusLevelUptoClientAndSalesChance", |
| | | "SalesStatusFail" |
| | | ] |
| | | }, |
| | | "constvar.ServiceContractKeywordType": { |
| | |
| | | "type": "integer" |
| | | }, |
| | | "type": { |
| | | "description": "类型: client: 客户; salesLead: 销售线索; contact: 联系人; followRecord: 跟进记录", |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "request.GetContactList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "search_map": { |
| | | "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"客户名称\", \"phone\": \"手机号码\", \"detail_address\":\"详细地址\", \"next_visit_time\":\"下回回访日期\", \"member_name\": \"销售负责人\", \"client_status\": \"客户状态\", \"client_level\": \"重要级别\"}", |
| | | "type": "object", |
| | | "additionalProperties": true |
| | | } |
| | | } |
| | | }, |