| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesReturn/update/{id}": { |
| | | "/api/salesReturn/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/vetting/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Vetting" |
| | | ], |
| | | "summary": "添加审批", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddVetting" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | |
| | | "type": "integer" |
| | | }, |
| | | "money": { |
| | | "type": "string" |
| | | "type": "number" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | |
| | | "request.AddServiceFeeManage": { |
| | | "type": "object", |
| | | "properties": { |
| | | "client_id": { |
| | | "business_scope": { |
| | | "description": "经营范围", |
| | | "type": "string" |
| | | }, |
| | | "city_id": { |
| | | "type": "integer" |
| | | }, |
| | | "client_level_id": { |
| | | "description": "客户等级ID", |
| | | "type": "integer" |
| | | }, |
| | | "client_origin_id": { |
| | | "description": "客户来源ID", |
| | | "type": "integer" |
| | | }, |
| | | "client_status_id": { |
| | | "description": "客户状态ID", |
| | | "type": "integer" |
| | | }, |
| | | "client_type_id": { |
| | | "description": "客户类型ID", |
| | | "type": "integer" |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/request.Contact" |
| | | }, |
| | | "country_id": { |
| | | "type": "integer" |
| | | }, |
| | | "detail_address": { |
| | | "description": "详细地址", |
| | | "type": "string" |
| | | }, |
| | | "enterprise_nature_id": { |
| | | "description": "企业性质", |
| | | "type": "integer" |
| | | }, |
| | | "enterprise_scale_id": { |
| | | "description": "企业规模", |
| | | "type": "integer" |
| | | }, |
| | | "file": { |
| | | "type": "string" |
| | | }, |
| | | "industry_id": { |
| | | "description": "所属行业", |
| | | "type": "integer" |
| | | }, |
| | | "latest_date": { |
| | | "type": "string" |
| | | }, |
| | | "latest_service_time": { |
| | | "description": "最晚服务时间", |
| | | "type": "string" |
| | | }, |
| | | "member_id": { |
| | | "description": "销售负责人ID", |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "name": { |
| | | "description": "公司名称", |
| | | "type": "string" |
| | | }, |
| | | "next_visit_time": { |
| | | "description": "下次回访时间", |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | | "description": "公司编号", |
| | | "type": "string" |
| | | }, |
| | | "province_id": { |
| | | "type": "integer" |
| | | }, |
| | | "region_id": { |
| | | "type": "integer" |
| | | }, |
| | | "registered_capital_id": { |
| | | "description": "注册资金", |
| | | "type": "integer" |
| | | }, |
| | | "registration_time": { |
| | | "description": "注册时间", |
| | | "type": "string" |
| | | }, |
| | | "remark": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "representative": { |
| | | "description": "法人代表", |
| | | "type": "string" |
| | | }, |
| | | "service_member_id": { |
| | | "description": "服务负责人ID", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "request.AddSubOrder": { |
| | | "type": "object", |
| | | "properties": { |
| | | "subOrder": { |
| | | "$ref": "#/definitions/request.SubOrder" |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "masterOrderId": { |
| | | "type": "integer" |
| | | }, |
| | | "memberId": { |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "product": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.AddVetting": { |
| | | "type": "object", |
| | | "required": [ |
| | | "opinion", |
| | | "status", |
| | | "userId", |
| | | "vettingId", |
| | | "vettingType" |
| | | ], |
| | | "properties": { |
| | | "opinion": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "type": "integer" |
| | | }, |
| | | "userId": { |
| | | "type": "integer" |
| | | }, |
| | | "vettingId": { |
| | | "type": "integer" |
| | | }, |
| | | "vettingType": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "pos": { |
| | | "description": "用户岗位", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.Client": { |
| | | "type": "object", |
| | | "properties": { |
| | | "business_scope": { |
| | | "description": "经营范围", |
| | | "type": "string" |
| | | }, |
| | | "city_id": { |
| | | "type": "integer" |
| | | }, |
| | | "client_level_id": { |
| | | "description": "客户等级ID", |
| | | "type": "integer" |
| | | }, |
| | | "client_origin_id": { |
| | | "description": "客户来源ID", |
| | | "type": "integer" |
| | | }, |
| | | "client_status_id": { |
| | | "description": "客户状态ID", |
| | | "type": "integer" |
| | | }, |
| | | "client_type_id": { |
| | | "description": "客户类型ID", |
| | | "type": "integer" |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/request.Contact" |
| | | }, |
| | | "country_id": { |
| | | "type": "integer" |
| | | }, |
| | | "detail_address": { |
| | | "description": "详细地址", |
| | | "type": "string" |
| | | }, |
| | | "enterprise_nature_id": { |
| | | "description": "企业性质", |
| | | "type": "integer" |
| | | }, |
| | | "enterprise_scale_id": { |
| | | "description": "企业规模", |
| | | "type": "integer" |
| | | }, |
| | | "industry_id": { |
| | | "description": "所属行业", |
| | | "type": "integer" |
| | | }, |
| | | "latest_service_time": { |
| | | "description": "最晚服务时间", |
| | | "type": "string" |
| | | }, |
| | | "member_id": { |
| | | "description": "销售负责人ID", |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "description": "公司名称", |
| | | "type": "string" |
| | | }, |
| | | "next_visit_time": { |
| | | "description": "下次回访时间", |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | | "description": "公司编号", |
| | | "type": "string" |
| | | }, |
| | | "province_id": { |
| | | "type": "integer" |
| | | }, |
| | | "region_id": { |
| | | "type": "integer" |
| | | }, |
| | | "registered_capital_id": { |
| | | "description": "注册资金", |
| | | "type": "integer" |
| | | }, |
| | | "registration_time": { |
| | | "description": "注册时间", |
| | | "type": "string" |
| | | }, |
| | | "remark": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "representative": { |
| | | "description": "法人代表", |
| | | "type": "string" |
| | | }, |
| | | "service_member_id": { |
| | | "description": "服务负责人ID", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.SubOrder": { |
| | | "type": "object", |
| | | "properties": { |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "masterOrderId": { |
| | | "type": "integer" |
| | | }, |
| | | "memberId": { |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "product": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | } |
| | | } |
| | |
| | | "type": "integer" |
| | | }, |
| | | "money": { |
| | | "type": "string" |
| | | "type": "number" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | |
| | | "request.UpdateSalesReturnRequest": { |
| | | "type": "object", |
| | | "properties": { |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "memberId": { |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "products": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "reason": { |
| | | "type": "string" |
| | | }, |
| | | "repository": { |
| | | "type": "string" |
| | | }, |
| | | "returnDate": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "type": "integer" |
| | | "salesReturn": { |
| | | "$ref": "#/definitions/request.SalesReturn" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "request.UpdateServiceFeeManage": { |
| | | "type": "object", |
| | | "properties": { |
| | | "client": { |
| | | "$ref": "#/definitions/request.Client" |
| | | "business_scope": { |
| | | "description": "经营范围", |
| | | "type": "string" |
| | | }, |
| | | "client_id": { |
| | | "city_id": { |
| | | "type": "integer" |
| | | }, |
| | | "client_level_id": { |
| | | "description": "客户等级ID", |
| | | "type": "integer" |
| | | }, |
| | | "client_origin_id": { |
| | | "description": "客户来源ID", |
| | | "type": "integer" |
| | | }, |
| | | "client_status_id": { |
| | | "description": "客户状态ID", |
| | | "type": "integer" |
| | | }, |
| | | "client_type_id": { |
| | | "description": "客户类型ID", |
| | | "type": "integer" |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/request.Contact" |
| | | }, |
| | | "country_id": { |
| | | "type": "integer" |
| | | }, |
| | | "detail_address": { |
| | | "description": "详细地址", |
| | | "type": "string" |
| | | }, |
| | | "enterprise_nature_id": { |
| | | "description": "企业性质", |
| | | "type": "integer" |
| | | }, |
| | | "enterprise_scale_id": { |
| | | "description": "企业规模", |
| | | "type": "integer" |
| | | }, |
| | | "file": { |
| | |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "industry_id": { |
| | | "description": "所属行业", |
| | | "type": "integer" |
| | | }, |
| | | "latest_date": { |
| | | "type": "string" |
| | | }, |
| | | "latest_service_time": { |
| | | "description": "最晚服务时间", |
| | | "type": "string" |
| | | }, |
| | | "member_id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "description": "公司名称", |
| | | "type": "string" |
| | | }, |
| | | "next_visit_time": { |
| | | "description": "下次回访时间", |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | | "description": "公司编号", |
| | | "type": "string" |
| | | }, |
| | | "province_id": { |
| | | "type": "integer" |
| | | }, |
| | | "region_id": { |
| | | "type": "integer" |
| | | }, |
| | | "registered_capital_id": { |
| | | "description": "注册资金", |
| | | "type": "integer" |
| | | }, |
| | | "registration_time": { |
| | | "description": "注册时间", |
| | | "type": "string" |
| | | }, |
| | | "remark": { |
| | | "type": "string" |
| | | }, |
| | | "representative": { |
| | | "description": "法人代表", |
| | | "type": "string" |
| | | }, |
| | | "service_member_id": { |
| | | "description": "服务负责人ID", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |