| | |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.SalesReturnResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesReturn/update/{id}": { |
| | | "/api/salesReturn/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateSalesSourcesList" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/satisfaction/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Satisfaction" |
| | | ], |
| | | "summary": "添加满意度", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddSatisfaction" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/satisfaction/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Satisfaction" |
| | | ], |
| | | "summary": "删除满意度", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/satisfaction/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Satisfaction" |
| | | ], |
| | | "summary": "满意度列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.SatisfactionResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/satisfaction/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Satisfaction" |
| | | ], |
| | | "summary": "更新满意度", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateSatisfactions" |
| | | } |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/solveRate/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SolveRate" |
| | | ], |
| | | "summary": "添加解决率", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddSolveRate" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/solveRate/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SolveRate" |
| | | ], |
| | | "summary": "删除解决率", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/solveRate/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SolveRate" |
| | | ], |
| | | "summary": "获取解决率列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.SolveRateResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/solveRate/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SolveRate" |
| | | ], |
| | | "summary": "更新解决率", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateSolveRates" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/status/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateSubOrder" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/timelyRate/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "TimelyRate" |
| | | ], |
| | | "summary": "添加销售阶段", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddTimelyRate" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/timelyRate/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "TimelyRate" |
| | | ], |
| | | "summary": "删除销售阶段", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/timelyRate/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "TimelyRate" |
| | | ], |
| | | "summary": "获取销售阶段列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.TimelyRateResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/timelyRate/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "TimelyRate" |
| | | ], |
| | | "summary": "更新销售阶段", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateTimelyRates" |
| | | } |
| | | } |
| | | ], |
| | |
| | | "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" |
| | | } |
| | |
| | | "model.MasterOrder": { |
| | | "type": "object", |
| | | "properties": { |
| | | "client": { |
| | | "$ref": "#/definitions/model.Client" |
| | | }, |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "currency": { |
| | | "$ref": "#/definitions/constvar.CurrencyType" |
| | | }, |
| | | "detail_address": { |
| | | "type": "string" |
| | | }, |
| | | "disadvantages": { |
| | | "type": "string" |
| | | }, |
| | |
| | | }, |
| | | "regular_customers_id": { |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "type": "string" |
| | | }, |
| | | "sale_stage_id": { |
| | | "type": "integer" |
| | |
| | | }, |
| | | "addressee": { |
| | | "type": "string" |
| | | }, |
| | | "client": { |
| | | "$ref": "#/definitions/model.Client" |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "model.SalesReturn": { |
| | | "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" |
| | | } |
| | | } |
| | | }, |
| | | "model.SalesSources": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.Satisfaction": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | |
| | | "remark": { |
| | | "type": "string" |
| | | }, |
| | | "satisfaction": { |
| | | "satisfactionId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceId": { |
| | | "type": "integer" |
| | | }, |
| | | "solveRate": { |
| | | "solveRateId": { |
| | | "type": "integer" |
| | | }, |
| | | "timelyRate": { |
| | | "timelyRateId": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "model.SolveRate": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.SubOrder": { |
| | | "type": "object", |
| | | "properties": { |
| | | "client": { |
| | | "$ref": "#/definitions/model.Client" |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "model.TimelyRate": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.User": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "string" |
| | | "type": "integer" |
| | | }, |
| | | "menuIds": { |
| | | "description": "菜单ID列表", |
| | |
| | | "$ref": "#/definitions/constvar.UserType" |
| | | }, |
| | | "username": { |
| | | "type": "string" |
| | | }, |
| | | "uuid": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "type": "integer" |
| | | }, |
| | | "money": { |
| | | "type": "string" |
| | | "type": "number" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | |
| | | "currency": { |
| | | "type": "integer" |
| | | }, |
| | | "detail_address": { |
| | | "type": "string" |
| | | }, |
| | | "disadvantages": { |
| | | "type": "string" |
| | | }, |
| | |
| | | }, |
| | | "regular_customers_id": { |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "type": "string" |
| | | }, |
| | | "sale_stage_id": { |
| | | "type": "integer" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.AddSatisfaction": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddServiceContract": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "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.AddSolveRate": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddStatus": { |
| | | "type": "object", |
| | | "required": [ |
| | |
| | | "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.AddTimelyRate": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "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" |
| | |
| | | "currency": { |
| | | "type": "integer" |
| | | }, |
| | | "detail_address": { |
| | | "type": "string" |
| | | }, |
| | | "disadvantages": { |
| | | "type": "string" |
| | | }, |
| | |
| | | }, |
| | | "regular_customers_id": { |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "type": "string" |
| | | }, |
| | | "sale_stage_id": { |
| | | "type": "integer" |
| | |
| | | "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" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateSalesSources" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateSatisfaction": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateSatisfactions": { |
| | | "type": "object", |
| | | "required": [ |
| | | "satisfactions" |
| | | ], |
| | | "properties": { |
| | | "satisfactions": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateSatisfaction" |
| | | } |
| | | } |
| | | } |
| | |
| | | "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" |
| | | } |
| | | } |
| | | }, |
| | |
| | | }, |
| | | "timelyRate": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateSolveRate": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateSolveRates": { |
| | | "type": "object", |
| | | "required": [ |
| | | "solve_rate" |
| | | ], |
| | | "properties": { |
| | | "solve_rate": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateSolveRate" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateTimelyRate": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateTimelyRates": { |
| | | "type": "object", |
| | | "required": [ |
| | | "timely_rate" |
| | | ], |
| | | "properties": { |
| | | "timely_rate": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateTimelyRate" |
| | | } |
| | | } |
| | | } |
| | |
| | | "$ref": "#/definitions/model.Country" |
| | | } |
| | | }, |
| | | "department": { |
| | | "description": "部门", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Department" |
| | | } |
| | | }, |
| | | "enterprise_nature": { |
| | | "description": "企业性质", |
| | | "type": "array", |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Industry" |
| | | } |
| | | }, |
| | | "member": { |
| | | "description": "Member", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | }, |
| | | "province": { |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.SalesSources" |
| | | } |
| | | }, |
| | | "satisfaction": { |
| | | "description": "满意度", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Satisfaction" |
| | | } |
| | | }, |
| | | "solve_rate": { |
| | | "description": "解决率", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.SolveRate" |
| | | } |
| | | }, |
| | | "timely_rate": { |
| | | "description": "及时率", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.TimelyRate" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.SalesReturnResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.SalesReturn" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.SalesSourceResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.SalesSources" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.SatisfactionResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Satisfaction" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.SolveRateResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.SolveRate" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.SubOrderResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.TimelyRateResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.TimelyRate" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.UserResponse": { |
| | | "type": "object", |
| | | "properties": { |