| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/contactInformation/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ContactInformation" |
| | | ], |
| | | "summary": "联系方式列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.ContactInformationResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/contract/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesDetails/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesDetails 销售明细" |
| | | ], |
| | | "summary": "批量删除销售明细", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.CommonIds" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesDetails/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | |
| | | "tags": [ |
| | | "ServiceContract" |
| | | ], |
| | | "summary": "删除服务合同", |
| | | "summary": "批量删除服务合同", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.DeleteServiceContract" |
| | | "$ref": "#/definitions/request.CommonIds" |
| | | } |
| | | } |
| | | ], |
| | |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddServiceOrder" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/serviceOrder/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "服务单" |
| | | ], |
| | | "summary": "批量删除服务单", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.CommonIds" |
| | | } |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | }, |
| | | "model.ContactInformation": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.Contract": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "contact": { |
| | | "$ref": "#/definitions/request.Contact" |
| | | }, |
| | | "contact_id": { |
| | | "description": "联系人ID", |
| | | "type": "integer" |
| | | }, |
| | | "country_id": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "contact": { |
| | | "$ref": "#/definitions/request.Contact" |
| | | }, |
| | | "contact_id": { |
| | | "description": "联系人ID", |
| | | "type": "integer" |
| | | }, |
| | | "country_id": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.CommonIds": { |
| | | "type": "object", |
| | | "required": [ |
| | | "ids" |
| | | ], |
| | | "properties": { |
| | | "ids": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.Contact": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | }, |
| | | "request.DeleteSalesLeads": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteServiceContract": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "searchMap": { |
| | | "search_map": { |
| | | "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"sale_chance_id\": 销售线索id, \"client_name\": \"客户名称\", \"member_name\": \"销售负责人\", \"contact_name\": \"联系人\", \"validity_date\": \"有效期\"}", |
| | | "type": "object", |
| | | "additionalProperties": true |
| | |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/request.Contact" |
| | | }, |
| | | "contact_id": { |
| | | "description": "联系人ID", |
| | | "type": "integer" |
| | | }, |
| | | "country_id": { |
| | | "type": "integer" |
| | |
| | | "contact": { |
| | | "$ref": "#/definitions/request.Contact" |
| | | }, |
| | | "contact_id": { |
| | | "description": "联系人ID", |
| | | "type": "integer" |
| | | }, |
| | | "country_id": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.ContactInformationResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ContactInformation" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.ContactResponse": { |
| | | "type": "object", |
| | | "properties": { |