// Code generated by swaggo/swag. DO NOT EDIT. package docs import "github.com/swaggo/swag" const docTemplate = `{ "schemes": {{ marshal .Schemes }}, "swagger": "2.0", "info": { "description": "{{escape .Description}}", "title": "{{.Title}}", "contact": {}, "version": "{{.Version}}" }, "host": "{{.Host}}", "basePath": "{{.BasePath}}", "paths": { "/api/accountId/add": { "post": { "produces": [ "application/json" ], "tags": [ "AccountId" ], "summary": "添加账户", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddAccountId" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/accountId/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "AccountId" ], "summary": "删除账户", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/accountId/list": { "get": { "produces": [ "application/json" ], "tags": [ "AccountId" ], "summary": "获取账户列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.AccountIdResponse" } } } ] } } } } }, "/api/accountId/update": { "put": { "produces": [ "application/json" ], "tags": [ "AccountId" ], "summary": "更新账户", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateAccountIds" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/assign/assign": { "post": { "produces": [ "application/json" ], "tags": [ "Assign" ], "summary": "分配", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.Assign" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/authority/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Authority" ], "summary": "创建角色", "parameters": [ { "description": "查询参数", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddAuthority" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/authority/setMenuAuthority": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Authority" ], "summary": "设置角色菜单", "parameters": [ { "description": "设置角色资源权限", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.SetAuthorityMenu" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/bankAccount/add": { "post": { "produces": [ "application/json" ], "tags": [ "银行账户管理" ], "summary": "添加银行账户", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddBankAccount" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/bankAccount/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "银行账户管理" ], "summary": "删除银行账户", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/bankAccount/list": { "get": { "produces": [ "application/json" ], "tags": [ "银行账户管理" ], "summary": "获取银行账户列表", "parameters": [ { "type": "string", "name": "keyword", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "BankAccountKeywordCustomerName" ], "name": "keywordType", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "BankAccountQueryClassExpireLessThen60Days" ], "name": "queryClass", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.BankAccount" } } } } ] } } } } }, "/api/bankAccount/update": { "put": { "produces": [ "application/json" ], "tags": [ "银行账户管理" ], "summary": "更新银行账户", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateBankAccount" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/city/add": { "post": { "produces": [ "application/json" ], "tags": [ "City" ], "summary": "添加城市", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddCity" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/city/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "City" ], "summary": "删除城市", "parameters": [ { "type": "integer", "description": "城市ID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/city/list": { "get": { "produces": [ "application/json" ], "tags": [ "City" ], "summary": "获取城市列表", "parameters": [ { "type": "integer", "description": "省份ID", "name": "province_id", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.CityResponse" } } } ] } } } } }, "/api/city/set": { "put": { "produces": [ "application/json" ], "tags": [ "City" ], "summary": "设置城市", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.SetCity" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/city/update": { "put": { "produces": [ "application/json" ], "tags": [ "City" ], "summary": "更新城市", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateCities" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/client/add": { "post": { "produces": [ "application/json" ], "tags": [ "Client" ], "summary": "添加客户", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddClient" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/client/checkName": { "post": { "produces": [ "application/json" ], "tags": [ "Client" ], "summary": "检查客户名称是否重复", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.CheckClientName" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/client/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "Client" ], "summary": "删除客户", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.DeleteClient" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/client/list": { "post": { "produces": [ "application/json" ], "tags": [ "Client" ], "summary": "客户列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetClientList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ClientResponse" } } } ] } } } } }, "/api/client/update": { "put": { "produces": [ "application/json" ], "tags": [ "Client" ], "summary": "更新客户", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateClient" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/clientLevel/add": { "post": { "produces": [ "application/json" ], "tags": [ "ClientLevel" ], "summary": "添加客户类型", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddClientType" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/clientLevel/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "ClientLevel" ], "summary": "删除客户类型", "parameters": [ { "type": "integer", "description": "客户类型ID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/clientLevel/list": { "get": { "produces": [ "application/json" ], "tags": [ "ClientLevel" ], "summary": "客户类型列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ClientLevelResponse" } } } ] } } } } }, "/api/clientLevel/update": { "put": { "produces": [ "application/json" ], "tags": [ "ClientLevel" ], "summary": "更新客户类型", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateClientLevelList" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/clientOrigin/add": { "post": { "produces": [ "application/json" ], "tags": [ "ClientOrigin" ], "summary": "添加客户来源", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddClientOrigin" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/clientOrigin/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "ClientOrigin" ], "summary": "删除客户来源", "parameters": [ { "type": "integer", "description": "客户来源ID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/clientOrigin/list": { "get": { "produces": [ "application/json" ], "tags": [ "ClientOrigin" ], "summary": "获取客户来源列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ClientOriginResponse" } } } ] } } } } }, "/api/clientOrigin/update": { "put": { "produces": [ "application/json" ], "tags": [ "ClientOrigin" ], "summary": "更新客户来源", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateClientOriginList" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/clientStatus/add": { "post": { "produces": [ "application/json" ], "tags": [ "ClientStatus" ], "summary": "添加客户状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddClientStatus" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/clientStatus/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "ClientStatus" ], "summary": "删除客户状态", "parameters": [ { "type": "integer", "description": "客户状态ID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/clientStatus/list": { "get": { "produces": [ "application/json" ], "tags": [ "ClientStatus" ], "summary": "获取客户状态列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ClientStatusResponse" } } } ] } } } } }, "/api/clientStatus/update": { "put": { "produces": [ "application/json" ], "tags": [ "ClientStatus" ], "summary": "更新客户状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateClientStatuses" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/clientType/add": { "post": { "produces": [ "application/json" ], "tags": [ "ClientType" ], "summary": "添加客户类型", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddClientType" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/clientType/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "ClientType" ], "summary": "删除客户类型", "parameters": [ { "type": "integer", "description": "客户类型ID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/clientType/list": { "get": { "produces": [ "application/json" ], "tags": [ "ClientType" ], "summary": "获取客户类型列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ClientTypeResponse" } } } ] } } } } }, "/api/clientType/update": { "put": { "produces": [ "application/json" ], "tags": [ "ClientType" ], "summary": "更新客户类型", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateClientTypes" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/code/getAutoCode": { "post": { "produces": [ "application/json" ], "tags": [ "编码" ], "summary": "获取自动编码", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/code.CodeStandard" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/response.ListResponse" } } } } }, "/api/code/getCodeList": { "get": { "produces": [ "application/json" ], "tags": [ "编码" ], "summary": "获取编码列表", "parameters": [ { "type": "string", "name": "codeStandID", "in": "query" }, { "type": "string", "name": "name", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" }, { "type": "string", "name": "type", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/response.ListResponse" } } } } }, "/api/collectionProjection/add": { "post": { "produces": [ "application/json" ], "tags": [ "CollectionProjection" ], "summary": "添加收款预测", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddCollectionProjection" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/collectionProjection/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "CollectionProjection" ], "summary": "删除收款预测", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/collectionProjection/list": { "post": { "produces": [ "application/json" ], "tags": [ "CollectionProjection" ], "summary": "获取收款预测列表", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/collectionProjection/update": { "put": { "produces": [ "application/json" ], "tags": [ "CollectionProjection" ], "summary": "更新收款预测", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateCollectionProjection" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/contact/add": { "post": { "produces": [ "application/json" ], "tags": [ "Contact" ], "summary": "添加联系人", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddContact" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/contact/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "Contact" ], "summary": "删除联系人", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.DeleteContact" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/contact/list": { "post": { "produces": [ "application/json" ], "tags": [ "Contact" ], "summary": "联系人列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetContactList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ContactResponse" } } } ] } } } } }, "/api/contact/update": { "put": { "produces": [ "application/json" ], "tags": [ "Contact" ], "summary": "更新联系人", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateContact" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/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": [ "application/json" ], "tags": [ "Contract" ], "summary": "添加合同", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddContract" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/contract/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "Contract" ], "summary": "删除合同", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.DeleteContract" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/contract/list": { "post": { "produces": [ "application/json" ], "tags": [ "Contract" ], "summary": "销售合同列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetContractList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ContractResponse" } } } ] } } } } }, "/api/contract/update": { "put": { "produces": [ "application/json" ], "tags": [ "Contract" ], "summary": "更新合同", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateContract" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/country/add": { "post": { "produces": [ "application/json" ], "tags": [ "Country" ], "summary": "添加国家", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddCountry" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/country/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "Country" ], "summary": "删除国家", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.DeleteCountry" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/country/list": { "get": { "produces": [ "application/json" ], "tags": [ "Country" ], "summary": "获取国家列表", "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.CountryResponse" } } } ] } } } } }, "/api/country/update": { "put": { "produces": [ "application/json" ], "tags": [ "Country" ], "summary": "更新国家", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateCountry" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/courierCompany/add": { "post": { "produces": [ "application/json" ], "tags": [ "物流公司" ], "summary": "添加物流公司", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddCourierCompany" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/courierCompany/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "物流公司" ], "summary": "删除物流公司", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/courierCompany/list": { "get": { "produces": [ "application/json" ], "tags": [ "物流公司" ], "summary": "获取物流公司列表", "parameters": [ { "type": "string", "name": "keyword", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "CourierCompanyKeywordCustomerName" ], "name": "keywordType", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "CourierCompanyQueryClassExpireLessThen60Days" ], "name": "queryClass", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.CourierCompany" } } } } ] } } } } }, "/api/courierCompany/update": { "put": { "produces": [ "application/json" ], "tags": [ "物流公司" ], "summary": "更新物流公司", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateCourierCompany" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/currency/add": { "post": { "produces": [ "application/json" ], "tags": [ "Currency" ], "summary": "添加币种", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddCurrency" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/currency/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "Currency" ], "summary": "删除币种", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/currency/list": { "get": { "produces": [ "application/json" ], "tags": [ "Currency" ], "summary": "获取币种列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.CurrencyResponse" } } } ] } } } } }, "/api/currency/update": { "put": { "produces": [ "application/json" ], "tags": [ "Currency" ], "summary": "更新币种", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateCurrencys" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/customerServiceSheet/add": { "post": { "produces": [ "application/json" ], "tags": [ "CustomerServiceSheet" ], "summary": "添加客服单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddCustomerServiceSheet" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/customerServiceSheet/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "CustomerServiceSheet" ], "summary": "删除客服单", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/customerServiceSheet/list": { "get": { "produces": [ "application/json" ], "tags": [ "CustomerServiceSheet" ], "summary": "获取客服单列表", "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/customerServiceSheet/update/{id}": { "put": { "produces": [ "application/json" ], "tags": [ "CustomerServiceSheet" ], "summary": "更新客服单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateCustomerServiceSheet" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/data/getAllData": { "get": { "produces": [ "application/json" ], "tags": [ "Data" ], "summary": "获取所有数据", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.DataResponse" } } } ] } } } } }, "/api/department/add": { "post": { "produces": [ "application/json" ], "tags": [ "Department" ], "summary": "添加部门", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddDepartment" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/department/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "Department" ], "summary": "删除部门", "parameters": [ { "type": "integer", "description": "部门ID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/department/list": { "get": { "produces": [ "application/json" ], "tags": [ "Department" ], "summary": "部门列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.DepartmentResponse" } } } ] } } } } }, "/api/department/update/{id}": { "put": { "produces": [ "application/json" ], "tags": [ "Department" ], "summary": "更新部门", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateDepartmentList" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/enterpriseNature/add": { "post": { "produces": [ "application/json" ], "tags": [ "EnterpriseNature" ], "summary": "添加企业性质", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddEnterpriseNature" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/enterpriseNature/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "EnterpriseNature" ], "summary": "删除企业性质", "parameters": [ { "type": "integer", "description": "企业性质ID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/enterpriseNature/list": { "get": { "produces": [ "application/json" ], "tags": [ "EnterpriseNature" ], "summary": "企业性质列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.EnterpriseNatureResponse" } } } ] } } } } }, "/api/enterpriseNature/update": { "put": { "produces": [ "application/json" ], "tags": [ "EnterpriseNature" ], "summary": "更新企业性质", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateEnterpriseNatures" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/enterpriseScale/add": { "post": { "produces": [ "application/json" ], "tags": [ "EnterpriseScale" ], "summary": "添加企业规模", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddEnterpriseScale" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/enterpriseScale/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "EnterpriseScale" ], "summary": "删除企业规模", "parameters": [ { "type": "integer", "description": "企业规模ID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/enterpriseScale/list": { "get": { "produces": [ "application/json" ], "tags": [ "EnterpriseScale" ], "summary": "企业规模列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.EnterpriseScaleResponse" } } } ] } } } } }, "/api/enterpriseScale/update": { "put": { "produces": [ "application/json" ], "tags": [ "EnterpriseScale" ], "summary": "更新企业规模", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateEnterpriseScales" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/faq/add": { "post": { "produces": [ "application/json" ], "tags": [ "常见问题管理" ], "summary": "添加常见问题", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddFaq" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/faq/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "常见问题管理" ], "summary": "删除常见问题", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/faq/list": { "get": { "produces": [ "application/json" ], "tags": [ "常见问题管理" ], "summary": "获取常见问题列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetFaqList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.Faq" } } } } ] } } } } }, "/api/faq/update": { "put": { "produces": [ "application/json" ], "tags": [ "常见问题管理" ], "summary": "更新常见问题", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateFaq" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/faultType/add": { "post": { "produces": [ "application/json" ], "tags": [ "故障类别管理" ], "summary": "添加故障类别", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddFaultType" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/faultType/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "故障类别管理" ], "summary": "删除故障类别", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/faultType/list": { "get": { "produces": [ "application/json" ], "tags": [ "故障类别管理" ], "summary": "获取故障类别列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.FaultType" } } } } ] } } } } }, "/api/faultType/update": { "put": { "produces": [ "application/json" ], "tags": [ "故障类别管理" ], "summary": "更新故障类别", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateFaultType" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/file/add": { "post": { "produces": [ "application/json" ], "tags": [ "附件管理" ], "summary": "添加附件", "parameters": [ { "type": "integer", "description": "来源id", "name": "sourceId", "in": "formData", "required": true }, { "type": "string", "description": "附件来源", "name": "sourceType", "in": "formData", "required": true }, { "type": "file", "description": "上传文件", "name": "file", "in": "formData", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/file/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "附件管理" ], "summary": "删除附件", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/file/download": { "post": { "produces": [ "application/json" ], "tags": [ "附件管理" ], "summary": "附件下载", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.DownloadFile" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/file/preview": { "post": { "produces": [ "application/json" ], "tags": [ "附件管理" ], "summary": "附件预览", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.DownloadFile" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/followRecord/add": { "post": { "produces": [ "application/json" ], "tags": [ "FollowRecord" ], "summary": "添加跟进记录", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddFollowRecord" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/followRecord/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "FollowRecord" ], "summary": "删除跟进记录", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.DeleteFollowRecord" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/followRecord/list": { "post": { "produces": [ "application/json" ], "tags": [ "FollowRecord" ], "summary": "回访记录列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetFollowRecordList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.FollowRecordResponse" } } } ] } } } } }, "/api/followRecord/update": { "put": { "produces": [ "application/json" ], "tags": [ "FollowRecord" ], "summary": "更新跟进记录", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateFollowRecord" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/image/upload": { "post": { "produces": [ "application/json" ], "tags": [ "Image" ], "summary": "上传图像", "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.LoginResponse" } } } ] } } } } }, "/api/industry/add": { "post": { "produces": [ "application/json" ], "tags": [ "Industry" ], "summary": "添加行业", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddIndustry" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/industry/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "Industry" ], "summary": "删除行业", "parameters": [ { "type": "integer", "description": "行业ID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/industry/list": { "get": { "produces": [ "application/json" ], "tags": [ "Industry" ], "summary": "行业列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.IndustryResponse" } } } ] } } } } }, "/api/industry/update": { "put": { "produces": [ "application/json" ], "tags": [ "Industry" ], "summary": "更新行业", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateIndustries" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/invoice/add": { "post": { "produces": [ "application/json" ], "tags": [ "销售发票" ], "summary": "添加销售发票", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddInvoice" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/invoice/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "销售发票" ], "summary": "删除销售发票", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/invoice/list": { "post": { "produces": [ "application/json" ], "tags": [ "销售发票" ], "summary": "获取销售发票列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetInvoiceList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.Invoice" } } } } ] } } } } }, "/api/invoice/update": { "put": { "produces": [ "application/json" ], "tags": [ "销售发票" ], "summary": "更新销售发票", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateInvoice" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/invoiceStatus/add": { "post": { "produces": [ "application/json" ], "tags": [ "发票状态" ], "summary": "添加发票状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddInvoiceStatus" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/invoiceStatus/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "发票状态" ], "summary": "删除发票状态", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/invoiceStatus/list": { "get": { "produces": [ "application/json" ], "tags": [ "发票状态" ], "summary": "获取发票状态列表", "parameters": [ { "type": "string", "name": "keyword", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "InvoiceStatusKeywordCustomerName" ], "name": "keywordType", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "InvoiceStatusQueryClassExpireLessThen60Days" ], "name": "queryClass", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.InvoiceStatus" } } } } ] } } } } }, "/api/invoiceStatus/update": { "put": { "produces": [ "application/json" ], "tags": [ "发票状态" ], "summary": "更新发票状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateInvoiceStatus" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/invoiceType/add": { "post": { "produces": [ "application/json" ], "tags": [ "发票类型" ], "summary": "添加发票类型", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddInvoiceType" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/invoiceType/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "发票类型" ], "summary": "删除发票类型", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/invoiceType/list": { "get": { "produces": [ "application/json" ], "tags": [ "发票类型" ], "summary": "获取发票类型列表", "parameters": [ { "type": "string", "name": "keyword", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "InvoiceTypeKeywordCustomerName" ], "name": "keywordType", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "InvoiceTypeQueryClassExpireLessThen60Days" ], "name": "queryClass", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.InvoiceType" } } } } ] } } } } }, "/api/invoiceType/update": { "put": { "produces": [ "application/json" ], "tags": [ "发票类型" ], "summary": "更新发票类型", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateInvoiceType" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/isInvoice/add": { "post": { "produces": [ "application/json" ], "tags": [ "IsInvoice" ], "summary": "添加是否开票", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddIsInvoice" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/isInvoice/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "IsInvoice" ], "summary": "删除是否开票", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/isInvoice/list": { "get": { "produces": [ "application/json" ], "tags": [ "IsInvoice" ], "summary": "获取是否开票列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.IsInvoiceResponse" } } } ] } } } } }, "/api/isInvoice/update": { "put": { "produces": [ "application/json" ], "tags": [ "IsInvoice" ], "summary": "更新是否开票", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateIsInvoices" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/isVisit/add": { "post": { "produces": [ "application/json" ], "tags": [ "IsVisit" ], "summary": "添加服务人员是否来过", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddIsVisit" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/isVisit/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "IsVisit" ], "summary": "删除服务人员是否来过", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/isVisit/list": { "get": { "produces": [ "application/json" ], "tags": [ "IsVisit" ], "summary": "获取服务人员是否来过列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.IsVisitResponse" } } } ] } } } } }, "/api/isVisit/update": { "put": { "produces": [ "application/json" ], "tags": [ "IsVisit" ], "summary": "更新服务人员是否来过", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateIsVisits" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/masterOrder/add": { "post": { "produces": [ "application/json" ], "tags": [ "MasterOrder" ], "summary": "添加主订单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddMasterOrder" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/masterOrder/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "MasterOrder" ], "summary": "删除主订单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.DeleteMasterOrder" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/masterOrder/list": { "post": { "produces": [ "application/json" ], "tags": [ "MasterOrder" ], "summary": "销售总单列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetMasterOrderList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.MasterOrderResponse" } } } ] } } } } }, "/api/masterOrder/update": { "put": { "produces": [ "application/json" ], "tags": [ "MasterOrder" ], "summary": "更新主订单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateMasterOrder" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/menu/getMenu": { "get": { "security": [ { "ApiKeyAuth": [] } ], "produces": [ "application/json" ], "tags": [ "Menu" ], "summary": "获取菜单树", "parameters": [ { "type": "string", "description": "Authorization", "name": "Authorization", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.MenuTreeResponse" } } } ] } } } } }, "/api/orderManage/add": { "post": { "produces": [ "application/json" ], "tags": [ "OrderManage" ], "summary": "添加工单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddOrderManage" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/orderManage/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "OrderManage" ], "summary": "删除工单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.DeleteOrderManage" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/orderManage/list": { "post": { "produces": [ "application/json" ], "tags": [ "OrderManage" ], "summary": "工单管理列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetOrderManageList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.OrderManageResponse" } } } ] } } } } }, "/api/orderManage/update": { "put": { "produces": [ "application/json" ], "tags": [ "OrderManage" ], "summary": "更新工单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateOrderManage" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/orderType/add": { "post": { "produces": [ "application/json" ], "tags": [ "OrderType" ], "summary": "添加工单类型", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddOrderType" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/orderType/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "OrderType" ], "summary": "删除工单类型", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/orderType/list": { "get": { "produces": [ "application/json" ], "tags": [ "OrderType" ], "summary": "获取工单类型列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.OrderTypeResponse" } } } ] } } } } }, "/api/orderType/update": { "put": { "produces": [ "application/json" ], "tags": [ "OrderType" ], "summary": "更新工单类型", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateOrderTypes" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/paymentType/add": { "post": { "produces": [ "application/json" ], "tags": [ "支付方式管理" ], "summary": "添加支付方式", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddPaymentType" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/paymentType/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "支付方式管理" ], "summary": "删除支付方式", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/paymentType/list": { "get": { "produces": [ "application/json" ], "tags": [ "支付方式管理" ], "summary": "获取支付方式列表", "parameters": [ { "type": "string", "name": "keyword", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "PaymentTypeKeywordCustomerName" ], "name": "keywordType", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "PaymentTypeQueryClassExpireLessThen60Days" ], "name": "queryClass", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.PaymentType" } } } } ] } } } } }, "/api/paymentType/update": { "put": { "produces": [ "application/json" ], "tags": [ "支付方式管理" ], "summary": "更新支付方式", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdatePaymentType" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/plan/add": { "post": { "produces": [ "application/json" ], "tags": [ "Plan" ], "summary": "添加计划", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddPlan" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/plan/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "Plan" ], "summary": "删除计划", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/plan/list": { "post": { "produces": [ "application/json" ], "tags": [ "Plan" ], "summary": "生成计划列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetPlanList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.PlanResponse" } } } ] } } } } }, "/api/plan/update": { "put": { "produces": [ "application/json" ], "tags": [ "Plan" ], "summary": "更新计划", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdatePlan" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/possibility/add": { "post": { "produces": [ "application/json" ], "tags": [ "Possibility" ], "summary": "添加商机可能性", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddPossibility" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/possibility/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "Possibility" ], "summary": "删除商机可能性", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/possibility/list": { "get": { "produces": [ "application/json" ], "tags": [ "Possibility" ], "summary": "商机可能性列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.PossibilityResponse" } } } ] } } } } }, "/api/possibility/update": { "put": { "produces": [ "application/json" ], "tags": [ "Possibility" ], "summary": "更新商机可能性", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdatePossibilities" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/priorityLevel/add": { "post": { "produces": [ "application/json" ], "tags": [ "优先级别管理" ], "summary": "添加优先级别", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddPriorityLevel" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/priorityLevel/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "优先级别管理" ], "summary": "删除优先级别", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/priorityLevel/list": { "get": { "produces": [ "application/json" ], "tags": [ "优先级别管理" ], "summary": "获取优先级别列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.PriorityLevel" } } } } ] } } } } }, "/api/priorityLevel/update": { "put": { "produces": [ "application/json" ], "tags": [ "优先级别管理" ], "summary": "更新优先级别", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdatePriorityLevel" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/product/getProductOrderInfo/{number}": { "get": { "produces": [ "application/json" ], "tags": [ "产品" ], "summary": "获取产品订单信息", "parameters": [ { "type": "string", "description": "明细编码", "name": "number", "in": "path", "required": true } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.Info" } } } ] } } } } }, "/api/product/info": { "get": { "produces": [ "application/json" ], "tags": [ "产品" ], "summary": "获取产品详情", "parameters": [ { "type": "string", "description": "参数", "name": "productNumber", "in": "query", "required": true } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/product.Product" } } } ] } } } } }, "/api/product/list": { "get": { "produces": [ "application/json" ], "tags": [ "产品" ], "summary": "获取产品列表", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" }, { "type": "string", "description": "产品名称", "name": "productName", "in": "query" }, { "type": "string", "description": "产品编码", "name": "productNumber", "in": "query" }, { "type": "string", "description": "报价单编码", "name": "quotationNumber", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/product.Product" } } } } ] } } } } }, "/api/province/add": { "post": { "produces": [ "application/json" ], "tags": [ "Province" ], "summary": "添加省份", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddProvince" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/province/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "Province" ], "summary": "删除省份", "parameters": [ { "type": "integer", "description": "省份ID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/province/list": { "get": { "produces": [ "application/json" ], "tags": [ "Province" ], "summary": "获取省份列表", "parameters": [ { "type": "integer", "description": "国家ID", "name": "country_id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ProvinceResponse" } } } ] } } } } }, "/api/province/set": { "put": { "produces": [ "application/json" ], "tags": [ "Province" ], "summary": "设置省份", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.SetProvinces" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/province/update": { "put": { "produces": [ "application/json" ], "tags": [ "Province" ], "summary": "更新省份", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateProvinces" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/quotation/add": { "post": { "produces": [ "application/json" ], "tags": [ "Quotation" ], "summary": "添加报价单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddQuotation" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/quotation/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "Quotation" ], "summary": "删除报价单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.DeleteQuotation" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/quotation/list": { "post": { "produces": [ "application/json" ], "tags": [ "Quotation" ], "summary": "报价单列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetQuotationList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.QuotationResponse" } } } ] } } } } }, "/api/quotation/statistics": { "get": { "produces": [ "application/json" ], "tags": [ "Quotation" ], "summary": "报价单统计", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "type": "object", "additionalProperties": { "type": "integer" } } } } ] } } } } }, "/api/quotation/update": { "put": { "produces": [ "application/json" ], "tags": [ "Quotation" ], "summary": "更新报价单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateQuotation" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/quotationStatus/add": { "post": { "produces": [ "application/json" ], "tags": [ "QuotationStatus" ], "summary": "添加报价单状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddQuotationStatus" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/quotationStatus/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "QuotationStatus" ], "summary": "删除报价单状态", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/quotationStatus/list": { "get": { "produces": [ "application/json" ], "tags": [ "QuotationStatus" ], "summary": "获取报价单状态列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.QuotationStatusResponse" } } } ] } } } } }, "/api/quotationStatus/update": { "put": { "produces": [ "application/json" ], "tags": [ "QuotationStatus" ], "summary": "更新报价单状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateQuotationStatuss" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/receipt/add": { "post": { "produces": [ "application/json" ], "tags": [ "收款单管理" ], "summary": "添加收款单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddReceipt" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/receipt/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "收款单管理" ], "summary": "删除收款单", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/receipt/list": { "get": { "produces": [ "application/json" ], "tags": [ "收款单管理" ], "summary": "获取收款单列表", "parameters": [ { "type": "integer", "description": "客户id", "name": "clientId", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" }, { "type": "array", "items": { "type": "integer" }, "collectionFormat": "csv", "name": "principleIds", "in": "query" }, { "type": "integer", "name": "sourceId", "in": "query" }, { "enum": [ 1, 2, 3, 4, 5 ], "type": "integer", "x-enum-comments": { "ReceiptSourceTypeChuKuDan": "出库单it", "ReceiptSourceTypeCollectionPlan": "收款计划", "ReceiptSourceTypeInvoice": "销售发票", "ReceiptSourceTypeSalesDetails": "销售明细单", "ReceiptSourceTypeServiceContract": "服务合同" }, "x-enum-varnames": [ "ReceiptSourceTypeSalesDetails", "ReceiptSourceTypeServiceContract", "ReceiptSourceTypeInvoice", "ReceiptSourceTypeCollectionPlan", "ReceiptSourceTypeChuKuDan" ], "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)", "name": "sourceType", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.Receipt" } } } } ] } } } } }, "/api/receipt/update": { "put": { "produces": [ "application/json" ], "tags": [ "收款单管理" ], "summary": "更新收款单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateReceipt" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/refundMethod/add": { "post": { "produces": [ "application/json" ], "tags": [ "RefundMethod" ], "summary": "添加退款方式", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddRefundMethod" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/refundMethod/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "RefundMethod" ], "summary": "删除退款方式", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/refundMethod/list": { "get": { "produces": [ "application/json" ], "tags": [ "RefundMethod" ], "summary": "获取退款方式列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.RefundMethodResponse" } } } ] } } } } }, "/api/refundMethod/update": { "put": { "produces": [ "application/json" ], "tags": [ "RefundMethod" ], "summary": "更新退款方式", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateRefundMethods" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/refundType/add": { "post": { "produces": [ "application/json" ], "tags": [ "退款方式管理" ], "summary": "添加退款方式", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddRefundType" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/refundType/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "退款方式管理" ], "summary": "删除退款方式", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/refundType/list": { "get": { "produces": [ "application/json" ], "tags": [ "退款方式管理" ], "summary": "获取退款方式列表", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.RefundType" } } } } ] } } } } }, "/api/refundType/update": { "put": { "produces": [ "application/json" ], "tags": [ "退款方式管理" ], "summary": "更新退款方式", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateRefundType" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/region/add": { "post": { "produces": [ "application/json" ], "tags": [ "Region" ], "summary": "添加地区", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddRegion" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/region/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "Region" ], "summary": "删除地区", "parameters": [ { "type": "integer", "description": "地区ID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/region/list": { "get": { "produces": [ "application/json" ], "tags": [ "Region" ], "summary": "地区列表", "parameters": [ { "type": "integer", "description": "城市ID", "name": "city_id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/region/set": { "put": { "produces": [ "application/json" ], "tags": [ "Region" ], "summary": "设置地区", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.SetRegions" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/region/update": { "put": { "produces": [ "application/json" ], "tags": [ "Region" ], "summary": "更新地区", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateRegions" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/registeredCapital/add": { "post": { "produces": [ "application/json" ], "tags": [ "RegisteredCapital" ], "summary": "添加注册资本", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddRegisteredCapital" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/registeredCapital/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "RegisteredCapital" ], "summary": "删除注册资本", "parameters": [ { "type": "integer", "description": "注册资本ID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/registeredCapital/list": { "get": { "produces": [ "application/json" ], "tags": [ "RegisteredCapital" ], "summary": "获取注册资本列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.RegisteredCapitalResponse" } } } ] } } } } }, "/api/registeredCapital/update": { "put": { "produces": [ "application/json" ], "tags": [ "RegisteredCapital" ], "summary": "更新注册资本", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateRegisteredCapitals" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/regularCustomers/add": { "post": { "produces": [ "application/json" ], "tags": [ "RegularCustomers" ], "summary": "添加常客", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddRegularCustomers" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/regularCustomers/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "RegularCustomers" ], "summary": "删除常客", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/regularCustomers/list": { "get": { "produces": [ "application/json" ], "tags": [ "RegularCustomers" ], "summary": "常客列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.RegularCustomersResponse" } } } ] } } } } }, "/api/regularCustomers/update": { "put": { "produces": [ "application/json" ], "tags": [ "RegularCustomers" ], "summary": "更新常客", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateRegularCustomersList" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/reportSource/add": { "post": { "produces": [ "application/json" ], "tags": [ "ReportSource" ], "summary": "添加报表来源", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddReportSource" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/reportSource/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "ReportSource" ], "summary": "删除报表来源", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/reportSource/list": { "get": { "produces": [ "application/json" ], "tags": [ "ReportSource" ], "summary": "获取报表来源列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ReportSourceResponse" } } } ] } } } } }, "/api/reportSource/update": { "put": { "produces": [ "application/json" ], "tags": [ "ReportSource" ], "summary": "更新报表来源", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateReportSources" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/repository/add": { "post": { "produces": [ "application/json" ], "tags": [ "Repository" ], "summary": "添加退货仓库", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddRepository" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/repository/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "Repository" ], "summary": "删除退货仓库", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/repository/list": { "get": { "produces": [ "application/json" ], "tags": [ "Repository" ], "summary": "获取退货仓库列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.RepositoryResponse" } } } ] } } } } }, "/api/repository/update": { "put": { "produces": [ "application/json" ], "tags": [ "Repository" ], "summary": "更新退货仓库", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateRepositorys" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/saleChance/add": { "post": { "produces": [ "application/json" ], "tags": [ "SaleChance" ], "summary": "添加销售机会", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddSaleChance" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/saleChance/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "SaleChance" ], "summary": "删除销售机会", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.DeleteSaleChance" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/saleChance/list": { "post": { "produces": [ "application/json" ], "tags": [ "SaleChance" ], "summary": "销售机会列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetSaleChanceList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.SaleChanceResponse" } } } ] } } } } }, "/api/saleChance/push": { "put": { "produces": [ "application/json" ], "tags": [ "SaleChance" ], "summary": "推进销售机会", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.PushSaleChance" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/saleChance/update": { "put": { "produces": [ "application/json" ], "tags": [ "SaleChance" ], "summary": "更新销售机会", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateSaleChance" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/saleStage/add": { "post": { "produces": [ "application/json" ], "tags": [ "SaleStage" ], "summary": "添加销售阶段", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddSaleStage" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/saleStage/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "SaleStage" ], "summary": "删除销售阶段", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/saleStage/list": { "get": { "produces": [ "application/json" ], "tags": [ "SaleStage" ], "summary": "获取销售阶段列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.SaleStageResponse" } } } ] } } } } }, "/api/saleStage/update": { "put": { "produces": [ "application/json" ], "tags": [ "SaleStage" ], "summary": "更新销售阶段", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateSaleStages" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/saleType/add": { "post": { "produces": [ "application/json" ], "tags": [ "SaleType" ], "summary": "添加销售类型", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddSaleType" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/saleType/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "SaleType" ], "summary": "删除销售类型", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/saleType/list": { "get": { "produces": [ "application/json" ], "tags": [ "SaleType" ], "summary": "获取销售类型列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.SaleTypeResponse" } } } ] } } } } }, "/api/saleType/update": { "put": { "produces": [ "application/json" ], "tags": [ "SaleType" ], "summary": "更新销售类型", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateSaleTypes" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesDetails/add": { "post": { "produces": [ "application/json" ], "tags": [ "SalesDetails" ], "summary": "添加销售明细", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddSalesDetails" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/request.AddSalesDetails" } } } ] } } } } }, "/api/salesDetails/confirmOutput": { "post": { "produces": [ "application/json" ], "tags": [ "SalesDetails" ], "summary": "确认发货", "parameters": [ { "description": "明细编码", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.ConfirmOutput" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/response.ListResponse" } } } } }, "/api/salesDetails/confirmOutputOver": { "post": { "produces": [ "application/json" ], "tags": [ "SalesDetails" ], "summary": "确认发货", "parameters": [ { "description": "明细编码", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.ConfirmOutputOver" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/response.ListResponse" } } } } }, "/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": [ "application/json" ], "tags": [ "SalesDetails" ], "summary": "删除销售明细", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesDetails/getApsProjectList": { "get": { "produces": [ "application/json" ], "tags": [ "SalesDetails" ], "summary": "获取aps项目列表", "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/response.Response" } } } } }, "/api/salesDetails/getDeliveryList": { "post": { "produces": [ "application/json" ], "tags": [ "SalesDetails" ], "summary": "发货明细", "parameters": [ { "description": "明细编码", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GetWarehouseProductInfoReq" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/response.ListResponse" } } } } }, "/api/salesDetails/getDeliveryPrepareInfo": { "post": { "produces": [ "application/json" ], "tags": [ "SalesDetails" ], "summary": "获取产品入库信息", "parameters": [ { "description": "明细编码", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GetWarehouseProductInfoReq" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/response.ListResponse" } } } } }, "/api/salesDetails/getDeliveryPrepareInfoByWarehouse": { "post": { "produces": [ "application/json" ], "tags": [ "SalesDetails" ], "summary": "获取产品入库信息按仓库分组", "parameters": [ { "description": "明细编码", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GetWarehouseProductInfoReq" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/response.ListResponse" } } } } }, "/api/salesDetails/getProductInventoryInfo/{number}": { "get": { "produces": [ "application/json" ], "tags": [ "SalesDetails" ], "summary": "获取产品发货信息", "parameters": [ { "type": "string", "description": "明细编码", "name": "number", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/response.ListResponse" } } } } }, "/api/salesDetails/list": { "post": { "produces": [ "application/json" ], "tags": [ "SalesDetails" ], "summary": "销售明细单列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetSalesDetailsList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.SalesDetailsResponse" } } } ] } } } } }, "/api/salesDetails/sendSalesDetailsToOtherSystem": { "post": { "produces": [ "application/json" ], "tags": [ "SalesDetails" ], "summary": "推送销售明细信息到其他系统", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.SalesDetails" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/response.ListResponse" } } } } }, "/api/salesDetails/update": { "put": { "produces": [ "application/json" ], "tags": [ "SalesDetails" ], "summary": "更新销售明细", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateSalesDetails" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesDetails/updateStatus": { "post": { "produces": [ "application/json" ], "tags": [ "SalesDetails" ], "summary": "更新销售明细状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateSalesDetailsStatus" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesLeads/add": { "post": { "produces": [ "application/json" ], "tags": [ "SalesLeads" ], "summary": "添加销售线索", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddSalesLeads" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesLeads/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "SalesLeads" ], "summary": "删除销售线索", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.DeleteSalesLeads" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesLeads/list": { "post": { "produces": [ "application/json" ], "tags": [ "SalesLeads" ], "summary": "销售线索列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetSalesLeadsList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.SalesLeadsResponse" } } } ] } } } } }, "/api/salesLeads/push": { "post": { "produces": [ "application/json" ], "tags": [ "SalesLeads" ], "summary": "推进销售线索", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.PushSalesLeads" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesLeads/update": { "put": { "produces": [ "application/json" ], "tags": [ "SalesLeads" ], "summary": "更新销售线索", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateSalesLeads" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesRefund/add": { "post": { "produces": [ "application/json" ], "tags": [ "销售退款单" ], "summary": "添加销售退款", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddSalesRefundRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesRefund/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "销售退款单" ], "summary": "批量删除销售退款单", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.CommonIds" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesRefund/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "销售退款单" ], "summary": "删除销售退款", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesRefund/list": { "post": { "produces": [ "application/json" ], "tags": [ "销售退款单" ], "summary": "销售退款单列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetSalesRefundList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.SalesRefundResponse" } } } ] } } } } }, "/api/salesRefund/update": { "put": { "produces": [ "application/json" ], "tags": [ "销售退款单" ], "summary": "更新销售退款", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateSalesRefundRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesReturn/add": { "post": { "produces": [ "application/json" ], "tags": [ "销售退货单" ], "summary": "添加销售退货", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddSalesReturnRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesReturn/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "销售退货单" ], "summary": "批量删除销售退货单", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.CommonIds" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesReturn/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "销售退货单" ], "summary": "删除销售退货", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesReturn/list": { "post": { "produces": [ "application/json" ], "tags": [ "销售退货单" ], "summary": "销售退货单列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetSalesReturnList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.SalesReturnResponse" } } } ] } } } } }, "/api/salesReturn/update": { "put": { "produces": [ "application/json" ], "tags": [ "销售退货单" ], "summary": "更新销售退货", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateSalesReturnRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesReturnStatus/add": { "post": { "produces": [ "application/json" ], "tags": [ "SalesReturnStatus" ], "summary": "添加退货单状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddSalesReturnStatus" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesReturnStatus/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "SalesReturnStatus" ], "summary": "删除退货单状态", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesReturnStatus/list": { "get": { "produces": [ "application/json" ], "tags": [ "SalesReturnStatus" ], "summary": "获取退货单状态列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.SalesReturnStatusResponse" } } } ] } } } } }, "/api/salesReturnStatus/update": { "put": { "produces": [ "application/json" ], "tags": [ "SalesReturnStatus" ], "summary": "更新退货单状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateSalesReturnStatuss" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesSources/add": { "post": { "produces": [ "application/json" ], "tags": [ "SalesSources" ], "summary": "添加商机来源", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddSalesSources" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesSources/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "SalesSources" ], "summary": "删除商机来源", "parameters": [ { "type": "integer", "description": "商机来源ID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/salesSources/list": { "get": { "produces": [ "application/json" ], "tags": [ "SalesSources" ], "summary": "商机来源列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.SalesSourceResponse" } } } ] } } } } }, "/api/salesSources/update": { "put": { "produces": [ "application/json" ], "tags": [ "SalesSources" ], "summary": "更新商机来源", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "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" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceCollectionPlan/add": { "post": { "produces": [ "application/json" ], "tags": [ "收款计划管理" ], "summary": "添加收款计划", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddServiceCollectionPlan" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceCollectionPlan/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "收款计划管理" ], "summary": "删除收款计划", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceCollectionPlan/list": { "post": { "produces": [ "application/json" ], "tags": [ "收款计划管理" ], "summary": "获取收款计划列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetServiceCollectionPlanList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.ServiceCollectionPlan" } } } } ] } } } } }, "/api/serviceCollectionPlan/update": { "put": { "produces": [ "application/json" ], "tags": [ "收款计划管理" ], "summary": "更新收款计划", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateServiceCollectionPlan" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceContract/add": { "post": { "produces": [ "application/json" ], "tags": [ "ServiceContract" ], "summary": "添加服务合同", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddServiceContract" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceContract/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "ServiceContract" ], "summary": "批量删除服务合同", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.CommonIds" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceContract/list": { "post": { "produces": [ "application/json" ], "tags": [ "ServiceContract" ], "summary": "服务合同列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetServiceContractList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ServiceContractsResponse" } } } ] } } } } }, "/api/serviceContract/update": { "put": { "produces": [ "application/json" ], "tags": [ "ServiceContract" ], "summary": "更新服务合同", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateServiceContract" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceContractStatus/add": { "post": { "produces": [ "application/json" ], "tags": [ "合同状态" ], "summary": "添加合同状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddServiceContractStatus" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceContractStatus/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "合同状态" ], "summary": "删除合同状态", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceContractStatus/list": { "get": { "produces": [ "application/json" ], "tags": [ "合同状态" ], "summary": "获取合同状态列表", "parameters": [ { "type": "string", "name": "keyword", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "ServiceContractStatusKeywordCustomerName" ], "name": "keywordType", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "ServiceContractStatusQueryClassExpireLessThen60Days" ], "name": "queryClass", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.ServiceContractStatus" } } } } ] } } } } }, "/api/serviceContractStatus/update": { "put": { "produces": [ "application/json" ], "tags": [ "合同状态" ], "summary": "更新合同状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateServiceContractStatus" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceContractType/add": { "post": { "produces": [ "application/json" ], "tags": [ "ServiceContractType" ], "summary": "添加服务合同类型", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddServiceContractType" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceContractType/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "ServiceContractType" ], "summary": "删除服务合同类型", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceContractType/list": { "get": { "produces": [ "application/json" ], "tags": [ "ServiceContractType" ], "summary": "获取服务合同类型列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ServiceContractTypeResponse" } } } ] } } } } }, "/api/serviceContractType/update": { "put": { "produces": [ "application/json" ], "tags": [ "ServiceContractType" ], "summary": "更新服务合同类型", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateServiceContractTypes" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceFeeManage/add": { "post": { "produces": [ "application/json" ], "tags": [ "ServiceFeeManage" ], "summary": "添加服务费管理", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddServiceFeeManage" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceFeeManage/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "ServiceFeeManage" ], "summary": "删除服务费管理", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.DeleteServiceFeeManage" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceFeeManage/list": { "post": { "produces": [ "application/json" ], "tags": [ "ServiceFeeManage" ], "summary": "服务费管理列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetServiceFeeManageList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ServiceFeeManageResponse" } } } ] } } } } }, "/api/serviceFeeManage/update": { "put": { "produces": [ "application/json" ], "tags": [ "ServiceFeeManage" ], "summary": "更新服务费管理", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateServiceFeeManage" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceFollowup/add": { "post": { "produces": [ "application/json" ], "tags": [ "ServiceFollowup" ], "summary": "添加服务跟进", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddServiceFollowup" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceFollowup/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "ServiceFollowup" ], "summary": "删除服务跟进", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.DeleteServiceFollowup" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceFollowup/list": { "post": { "produces": [ "application/json" ], "tags": [ "ServiceFollowup" ], "summary": "回访单管理列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetServiceFollowupList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ServiceFollowupResponse" } } } ] } } } } }, "/api/serviceFollowup/update": { "put": { "produces": [ "application/json" ], "tags": [ "ServiceFollowup" ], "summary": "更新服务跟进", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateServiceFollowup" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceOrder/add": { "post": { "produces": [ "application/json" ], "tags": [ "服务单管理" ], "summary": "添加服务单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "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" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceOrder/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "服务单管理" ], "summary": "删除服务单", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceOrder/list": { "post": { "produces": [ "application/json" ], "tags": [ "服务单管理" ], "summary": "获取服务单列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetServiceOrderList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.ServiceOrder" } } } } ] } } } } }, "/api/serviceOrder/update": { "put": { "produces": [ "application/json" ], "tags": [ "服务单管理" ], "summary": "更新服务单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateServiceOrder" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceOrderStatus/add": { "post": { "produces": [ "application/json" ], "tags": [ "服务单状态" ], "summary": "添加服务单状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddServiceOrderStatus" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceOrderStatus/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "服务单状态" ], "summary": "删除服务单状态", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceOrderStatus/list": { "get": { "produces": [ "application/json" ], "tags": [ "服务单状态" ], "summary": "获取服务单状态列表", "parameters": [ { "type": "string", "name": "keyword", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "ServiceOrderStatusKeywordCustomerName" ], "name": "keywordType", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "ServiceOrderStatusQueryClassExpireLessThen60Days" ], "name": "queryClass", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.ServiceOrderStatus" } } } } ] } } } } }, "/api/serviceOrderStatus/update": { "put": { "produces": [ "application/json" ], "tags": [ "服务单状态" ], "summary": "更新服务单状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateServiceOrderStatus" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceType/add": { "post": { "produces": [ "application/json" ], "tags": [ "服务方式管理" ], "summary": "添加服务方式", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddServiceType" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceType/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "服务方式管理" ], "summary": "删除服务方式", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/serviceType/list": { "get": { "produces": [ "application/json" ], "tags": [ "服务方式管理" ], "summary": "获取服务方式列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.ServiceType" } } } } ] } } } } }, "/api/serviceType/update": { "put": { "produces": [ "application/json" ], "tags": [ "服务方式管理" ], "summary": "更新服务方式", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateServiceType" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/severity/add": { "post": { "produces": [ "application/json" ], "tags": [ "严重程度管理" ], "summary": "添加严重程度", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddSeverity" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/severity/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "严重程度管理" ], "summary": "删除严重程度", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/severity/list": { "get": { "produces": [ "application/json" ], "tags": [ "严重程度管理" ], "summary": "获取严重程度列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.Severity" } } } } ] } } } } }, "/api/severity/update": { "put": { "produces": [ "application/json" ], "tags": [ "严重程度管理" ], "summary": "更新严重程度", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateSeverity" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/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": [ "application/json" ], "tags": [ "SalesReturnStatus" ], "summary": "添加状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddStatus" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/status/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "SalesReturnStatus" ], "summary": "删除状态", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/status/list": { "get": { "produces": [ "application/json" ], "tags": [ "SalesReturnStatus" ], "summary": "状态列表", "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/status/update": { "put": { "produces": [ "application/json" ], "tags": [ "SalesReturnStatus" ], "summary": "更新状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateStatusList" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/subOrder/add": { "post": { "produces": [ "application/json" ], "tags": [ "SubOrder" ], "summary": "添加子订单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddSubOrder" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/subOrder/delete": { "delete": { "produces": [ "application/json" ], "tags": [ "SubOrder" ], "summary": "删除子订单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.DeleteSubOrder" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/subOrder/list": { "post": { "produces": [ "application/json" ], "tags": [ "SubOrder" ], "summary": "销售子单列表", "parameters": [ { "description": "参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetSubOrderList" } } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.SubOrderResponse" } } } ] } } } } }, "/api/subOrder/update": { "put": { "produces": [ "application/json" ], "tags": [ "SubOrder" ], "summary": "更新子订单", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateSubOrder" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/system/getSystemSet": { "get": { "produces": [ "application/json" ], "tags": [ "系统设置" ], "summary": "获取系统设置", "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "type": "object", "additionalProperties": true } } } ] } } } } }, "/api/system/saveSystemSet": { "post": { "produces": [ "application/json" ], "tags": [ "系统设置" ], "summary": "保存系统设置", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.SaveSystemSet" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/system/useSystemSet/{modeType}": { "get": { "produces": [ "application/json" ], "tags": [ "系统设置" ], "summary": "使用系统设置", "parameters": [ { "type": "string", "description": "查询参数", "name": "modeType", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/response.ListResponse" } } } } }, "/api/timeSpent/add": { "post": { "produces": [ "application/json" ], "tags": [ "花费时间管理" ], "summary": "添加花费时间", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddTimeSpent" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/timeSpent/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "花费时间管理" ], "summary": "删除花费时间", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/timeSpent/list": { "get": { "produces": [ "application/json" ], "tags": [ "花费时间管理" ], "summary": "获取花费时间列表", "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.TimeSpent" } } } } ] } } } } }, "/api/timeSpent/update": { "put": { "produces": [ "application/json" ], "tags": [ "花费时间管理" ], "summary": "更新花费时间", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateTimeSpent" } } ], "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": "OK", "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" } } } } }, "/api/vetting/update": { "post": { "produces": [ "application/json" ], "tags": [ "Vetting" ], "summary": "更新审批", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateVetting" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/wechatOrderStatus/add": { "post": { "produces": [ "application/json" ], "tags": [ "微信订单状态" ], "summary": "添加微信订单状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddWechatOrderStatus" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/wechatOrderStatus/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "微信订单状态" ], "summary": "删除微信订单状态", "parameters": [ { "type": "integer", "description": "查询参数", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } }, "/api/wechatOrderStatus/list": { "get": { "produces": [ "application/json" ], "tags": [ "微信订单状态" ], "summary": "获取微信订单状态列表", "parameters": [ { "type": "string", "name": "keyword", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "WechatOrderStatusKeywordCustomerName" ], "name": "keywordType", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" }, { "enum": [ "" ], "type": "string", "x-enum-varnames": [ "WechatOrderStatusQueryClassExpireLessThen60Days" ], "name": "queryClass", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.WechatOrderStatus" } } } } ] } } } } }, "/api/wechatOrderStatus/update": { "put": { "produces": [ "application/json" ], "tags": [ "微信订单状态" ], "summary": "更新微信订单状态", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateWechatOrderStatus" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" } } } } } }, "definitions": { "code.CodeAuto": { "type": "object", "properties": { "AutoLength": { "type": "integer" }, "Desc": { "type": "string" }, "PrefixMethod": { "type": "integer" }, "PrefixValue": { "type": "string" }, "SuffixMethod": { "type": "integer" } } }, "code.CodeRule": { "type": "object", "properties": { "Desc": { "type": "string" }, "Length": { "type": "integer" }, "Name": { "type": "string" } } }, "code.CodeStandard": { "type": "object", "properties": { "AutoRule": { "$ref": "#/definitions/code.CodeAuto" }, "ID": { "type": "string" }, "List": { "type": "array", "items": { "$ref": "#/definitions/code.CodeRule" } }, "Method": { "type": "integer" }, "Name": { "type": "string" }, "Status": { "type": "string" }, "Type": { "type": "string" } } }, "constvar.BankAccountKeywordType": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "BankAccountKeywordCustomerName" ] }, "constvar.BankAccountQueryClass": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "BankAccountQueryClassExpireLessThen60Days" ] }, "constvar.CollectionSourceType": { "type": "integer", "enum": [ 1, 2 ], "x-enum-comments": { "CollectionSourceTypeSaleDetails": "销售明细", "CollectionSourceTypeServiceContract": "服务合同" }, "x-enum-varnames": [ "CollectionSourceTypeSaleDetails", "CollectionSourceTypeServiceContract" ] }, "constvar.CollectionStatus": { "type": "integer", "enum": [ 1, 2, 3 ], "x-enum-comments": { "CollectionStatusCollected": "已收款", "CollectionStatusSubCollected": "部分收款", "CollectionStatusUnCollected": "待收款" }, "x-enum-varnames": [ "CollectionStatusUnCollected", "CollectionStatusSubCollected", "CollectionStatusCollected" ] }, "constvar.CourierCompanyKeywordType": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "CourierCompanyKeywordCustomerName" ] }, "constvar.CourierCompanyQueryClass": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "CourierCompanyQueryClassExpireLessThen60Days" ] }, "constvar.FaqKeywordType": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "FaqKeywordCustomerName" ] }, "constvar.FaqQueryClass": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "FaqQueryClassExpireLessThen60Days" ] }, "constvar.InvoiceSourceType": { "type": "integer", "enum": [ 1, 2 ], "x-enum-varnames": [ "InvoiceSourceTypeSaleDetail", "InvoiceSourceTypeServiceContract" ] }, "constvar.InvoiceStatusKeywordType": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "InvoiceStatusKeywordCustomerName" ] }, "constvar.InvoiceStatusQueryClass": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "InvoiceStatusQueryClassExpireLessThen60Days" ] }, "constvar.InvoiceTypeKeywordType": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "InvoiceTypeKeywordCustomerName" ] }, "constvar.InvoiceTypeQueryClass": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "InvoiceTypeQueryClassExpireLessThen60Days" ] }, "constvar.PaymentTypeKeywordType": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "PaymentTypeKeywordCustomerName" ] }, "constvar.PaymentTypeQueryClass": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "PaymentTypeQueryClassExpireLessThen60Days" ] }, "constvar.ReceiptSourceType": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ], "x-enum-comments": { "ReceiptSourceTypeChuKuDan": "出库单it", "ReceiptSourceTypeCollectionPlan": "收款计划", "ReceiptSourceTypeInvoice": "销售发票", "ReceiptSourceTypeSalesDetails": "销售明细单", "ReceiptSourceTypeServiceContract": "服务合同" }, "x-enum-varnames": [ "ReceiptSourceTypeSalesDetails", "ReceiptSourceTypeServiceContract", "ReceiptSourceTypeInvoice", "ReceiptSourceTypeCollectionPlan", "ReceiptSourceTypeChuKuDan" ] }, "constvar.RefundSourceType": { "type": "integer", "enum": [ 1 ], "x-enum-comments": { "RefundSourceTypeSalesReturn": "销售退货" }, "x-enum-varnames": [ "RefundSourceTypeSalesReturn" ] }, "constvar.SalesDetailsKeywordType": { "type": "string", "enum": [ "客户名称", "订单编号", "签约日期", "销售负责人", "产品名称" ], "x-enum-varnames": [ "SalesDetailsKeywordTypeCustomerName", "SalesDetailsKeywordTypeOrderNumber", "SalesDetailsKeywordTypeSignTime", "SalesDetailsKeywordTypePrincipal", "SalesDetailsKeywordTypeProductName" ] }, "constvar.SalesDetailsStatus": { "type": "integer", "enum": [ 1, 2, 3, 4, 5, 6 ], "x-enum-comments": { "InStock": "备货中", "OverCLose": "已关闭", "OverOutbound": "出库完成", "WaitConfirmed": "待确认", "WaitDecompose": "待分解", "WaitOutbound": "待出库" }, "x-enum-varnames": [ "WaitConfirmed", "WaitDecompose", "InStock", "WaitOutbound", "OverOutbound", "OverCLose" ] }, "constvar.SalesRefundKeywordType": { "type": "string", "enum": [ "销售退货单编号", "客户名称", "退款日期", "账户", "是否开票", "付款方式", "销售负责人", "修改时间", "价税合计" ], "x-enum-varnames": [ "SalesRefundKeywordRefundNumber", "SalesRefundKeywordClientName", "SalesRefundKeywordRefundDate", "SalesRefundKeywordAccount", "SalesRefundKeywordIsInvoice", "SalesRefundKeywordPaymentType", "SalesRefundKeywordPrincipal", "SalesRefundKeywordUpdateAt", "SalesRefundKeywordPriceTotal" ] }, "constvar.SalesReturnKeywordType": { "type": "string", "enum": [ "销售退货单编号", "客户名称", "退款日期", "状态", "退入仓库", "应退款", "已退款", "销售负责人" ], "x-enum-varnames": [ "SalesReturnKeywordReturnNumber", "SalesReturnKeywordClientName", "SalesReturnKeywordReturnDate", "SalesReturnKeywordStatus", "SalesReturnKeywordRepository", "SalesReturnKeywordAmountShouldRefund", "SalesReturnKeywordAmountHasRefund", "SalesReturnKeywordPrincipal" ] }, "constvar.SalesReturnSourceType": { "type": "integer", "enum": [ 1 ], "x-enum-comments": { "SalesReturnSourceTypeSaleDetails": "销售明细" }, "x-enum-varnames": [ "SalesReturnSourceTypeSaleDetails" ] }, "constvar.SalesStatus": { "type": "integer", "enum": [ 0, 1, 2, 3, -1 ], "x-enum-comments": { "SalesStatusFail": "失败", "SalesStatusIng": "进行中", "SalesStatusLevelUptoClient": "升级为客户", "SalesStatusLevelUptoClientAndSalesChance": "升级为客户并且有销售机会", "SalesStatusNew": "新建" }, "x-enum-varnames": [ "SalesStatusNew", "SalesStatusIng", "SalesStatusLevelUptoClient", "SalesStatusLevelUptoClientAndSalesChance", "SalesStatusFail" ] }, "constvar.ServiceContractKeywordType": { "type": "string", "enum": [ "服务合同编号", "客户名称", "签约日期", "合同类型", "合同状态", "负责人", "产品名称", "服务开始日", "服务到期日", "价税合计" ], "x-enum-varnames": [ "ServiceContractKeywordContractNo", "ServiceContractKeywordCustomerName", "ServiceContractKeywordContractDate", "ServiceContractKeywordContractType", "ServiceContractKeywordContractStatus", "ServiceContractKeywordPrincipal", "ServiceContractKeywordProductName", "ServiceContractKeywordServiceBeginDate", "ServiceContractKeywordServiceEndDate", "ServiceContractKeywordServiceTotalPrice" ] }, "constvar.ServiceContractQueryClass": { "type": "string", "enum": [ "30天后过期", "60天后过期", "已过期15天", "已过期60天" ], "x-enum-varnames": [ "ServiceContractQueryClassExpireAfter30Day", "ServiceContractQueryClassExpireAfter60Day", "ServiceContractQueryClassExpiredBefore15Day", "ServiceContractQueryClassExpiredBefore60Day" ] }, "constvar.ServiceContractStatusKeywordType": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "ServiceContractStatusKeywordCustomerName" ] }, "constvar.ServiceContractStatusQueryClass": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "ServiceContractStatusQueryClassExpireLessThen60Days" ] }, "constvar.ServiceFeeKeywordType": { "type": "string", "enum": [ "客户名称", "客户类型", "销售负责人", "客户规模", "重要级别", "客户编号", "客户状态", "产品名称", "服务到期日" ], "x-enum-varnames": [ "ServiceFeeKeywordCustomerName", "ServiceFeeKeywordCustomerType", "ServiceFeeKeywordSalesPrincipal", "ServiceFeeKeywordCustomerScale", "ServiceFeeKeywordClientLevel", "ServiceFeeKeywordCustomerNo", "ServiceFeeKeywordCustomerStatus", "ServiceFeeKeywordProductName", "ServiceFeeKeywordServiceEndDate" ] }, "constvar.ServiceFeeQueryClass": { "type": "string", "enum": [ "过期未满60天", "过期未满30天", "即将过期60天", "即将过期30天", "已过期", "无服务" ], "x-enum-varnames": [ "ServiceFeeQueryClassExpireLessThen60Days", "ServiceFeeQueryClassExpireLessThen30Days", "ServiceFeeQueryClassExpireAboutTo60Day", "ServiceFeeQueryClassExpireAboutTo30Day", "ServiceFeeQueryClassExpired", "ServiceFeeQueryClassNoService" ] }, "constvar.ServiceFollowupKeywordType": { "type": "string", "enum": [ "回访单编号", "客户名称", "联系人姓名", "客户服务单", "回访人", "满意度" ], "x-enum-varnames": [ "ServiceFollowupKeywordFollowupNo", "ServiceFollowupKeywordCustomerName", "ServiceFollowupKeywordContactName", "ServiceFollowupKeywordCustomerServiceNo", "ServiceFollowupKeywordVisitor", "ServiceFollowupKeywordSatisfactionDegree" ] }, "constvar.ServiceOrderKeywordType": { "type": "string", "enum": [ "服务单编号", "主题", "客户名称", "实际处理时间", "服务人员", "服务方式", "产品类别", "故障类别" ], "x-enum-varnames": [ "ServiceOrderKeywordOrderNumber", "ServiceOrderKeywordSubject", "ServiceOrderKeywordClientName", "ServiceOrderKeywordRealProcessTime", "ServiceOrderKeywordServiceMan", "ServiceOrderKeywordServiceType", "ServiceOrderKeywordProductType", "ServiceOrderKeywordFaultType" ] }, "constvar.ServiceOrderQueryClass": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "ServiceOrderQueryClassExpireLessThen60Days" ] }, "constvar.ServiceOrderStatusKeywordType": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "ServiceOrderStatusKeywordCustomerName" ] }, "constvar.ServiceOrderStatusQueryClass": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "ServiceOrderStatusQueryClassExpireLessThen60Days" ] }, "constvar.UserType": { "type": "integer", "enum": [ 1, 2, 3 ], "x-enum-comments": { "UserTypePrimary": "主账户", "UserTypeSub": "子账户", "UserTypeSuper": "超级管理员" }, "x-enum-varnames": [ "UserTypeSuper", "UserTypePrimary", "UserTypeSub" ] }, "constvar.WechatOrderStatusKeywordType": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "WechatOrderStatusKeywordCustomerName" ] }, "constvar.WechatOrderStatusQueryClass": { "type": "string", "enum": [ "" ], "x-enum-varnames": [ "WechatOrderStatusQueryClassExpireLessThen60Days" ] }, "contextx.Response": { "type": "object", "properties": { "code": { "type": "integer" }, "data": {}, "msg": { "type": "string" } } }, "model.AccountId": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.Authority": { "type": "object", "properties": { "authorityName": { "description": "角色名", "type": "string" }, "defaultRouter": { "description": "默认菜单(默认dashboard)", "type": "string" }, "id": { "description": "角色ID", "type": "integer" }, "menus": { "type": "array", "items": { "$ref": "#/definitions/model.Menu" } } } }, "model.BankAccount": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.City": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "regions": { "type": "array", "items": { "$ref": "#/definitions/model.Region" } } } }, "model.Client": { "type": "object", "properties": { "business_scope": { "type": "string" }, "city": { "$ref": "#/definitions/model.City" }, "city_id": { "type": "integer" }, "client_level": { "$ref": "#/definitions/model.ClientLevel" }, "client_level_id": { "type": "integer" }, "client_origin": { "$ref": "#/definitions/model.ClientOrigin" }, "client_origin_id": { "type": "integer" }, "client_status": { "$ref": "#/definitions/model.ClientStatus" }, "client_status_id": { "type": "integer" }, "client_type": { "$ref": "#/definitions/model.ClientType" }, "client_type_id": { "type": "integer" }, "codeStandID": { "type": "string" }, "contacts": { "type": "array", "items": { "$ref": "#/definitions/model.Contact" } }, "country": { "$ref": "#/definitions/model.Country" }, "country_id": { "type": "integer" }, "createTime": { "type": "string" }, "creatorName": { "type": "string" }, "creator_id": { "type": "integer" }, "detail_address": { "type": "string" }, "enterpriseNature": { "$ref": "#/definitions/model.EnterpriseNature" }, "enterpriseScale": { "$ref": "#/definitions/model.EnterpriseScale" }, "enterprise_nature_id": { "type": "integer" }, "enterprise_scale_id": { "type": "integer" }, "follow_record": { "type": "array", "items": { "$ref": "#/definitions/model.FollowRecord" } }, "id": { "type": "integer" }, "industry": { "$ref": "#/definitions/model.Industry" }, "industry_id": { "type": "integer" }, "latest_service_time": { "type": "string" }, "member": { "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" }, "name": { "type": "string" }, "next_visit_time": { "type": "string" }, "number": { "type": "string" }, "province": { "$ref": "#/definitions/model.Province" }, "province_id": { "type": "integer" }, "region": { "$ref": "#/definitions/model.Region" }, "region_id": { "type": "integer" }, "registeredCapital": { "$ref": "#/definitions/model.RegisteredCapital" }, "registered_capital_id": { "type": "integer" }, "registration_time": { "type": "string" }, "remark": { "type": "string" }, "representative": { "type": "string" }, "service_member_id": { "type": "integer" }, "updateTime": { "type": "string" } } }, "model.ClientLevel": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.ClientOrigin": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.ClientStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.ClientType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.CollectionProjection": { "type": "object", "properties": { "created_at": { "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", "type": "string" }, "creator": { "type": "integer" }, "estimated_collection_amount": { "type": "number" }, "estimated_collection_date": { "type": "string" }, "id": { "description": "The ID of the item\nexample: 1", "type": "integer" }, "modifier": { "type": "integer" }, "sale_chance_id": { "type": "integer" }, "updated_at": { "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25", "type": "string" } } }, "model.Contact": { "type": "object", "properties": { "birthday": { "type": "string" }, "city": { "$ref": "#/definitions/model.City" }, "city_id": { "type": "integer" }, "client_id": { "type": "integer" }, "codeStandID": { "type": "string" }, "country": { "$ref": "#/definitions/model.Country" }, "country_id": { "type": "integer" }, "desc": { "type": "string" }, "email": { "type": "string" }, "id": { "type": "integer" }, "is_first": { "type": "boolean" }, "member": { "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" }, "name": { "type": "string" }, "number": { "type": "string" }, "phone": { "type": "string" }, "position": { "type": "string" }, "province": { "$ref": "#/definitions/model.Province" }, "province_id": { "type": "integer" }, "region": { "$ref": "#/definitions/model.Region" }, "region_id": { "type": "integer" }, "wechat": { "type": "string" } } }, "model.ContactDetail": { "type": "object", "properties": { "birthday": { "type": "string" }, "city": { "$ref": "#/definitions/model.City" }, "city_id": { "type": "integer" }, "client": { "$ref": "#/definitions/model.Client" }, "client_id": { "type": "integer" }, "codeStandID": { "type": "string" }, "country": { "$ref": "#/definitions/model.Country" }, "country_id": { "type": "integer" }, "desc": { "type": "string" }, "email": { "type": "string" }, "followRecord": { "type": "array", "items": { "$ref": "#/definitions/model.FollowRecord" } }, "id": { "type": "integer" }, "is_first": { "type": "boolean" }, "member": { "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" }, "name": { "type": "string" }, "number": { "type": "string" }, "phone": { "type": "string" }, "position": { "type": "string" }, "province": { "$ref": "#/definitions/model.Province" }, "province_id": { "type": "integer" }, "region": { "$ref": "#/definitions/model.Region" }, "region_id": { "type": "integer" }, "wechat": { "type": "string" } } }, "model.ContactInformation": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.Contract": { "type": "object", "properties": { "client": { "$ref": "#/definitions/model.Client" }, "clientId": { "type": "integer" }, "codeStandID": { "type": "string" }, "contractName": { "type": "string" }, "created_at": { "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", "type": "string" }, "file": { "type": "string" }, "id": { "description": "The ID of the item\nexample: 1", "type": "integer" }, "member": { "$ref": "#/definitions/model.User" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "quotation": { "$ref": "#/definitions/model.Quotation" }, "quotationId": { "type": "integer" }, "sendTime": { "type": "string" }, "serviceContractStatus": { "$ref": "#/definitions/model.ServiceContractStatus" }, "statusId": { "type": "integer" }, "updated_at": { "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25", "type": "string" } } }, "model.Country": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "province": { "type": "array", "items": { "$ref": "#/definitions/model.Province" } } } }, "model.CourierCompany": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.Currency": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.Department": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.EnterpriseNature": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.EnterpriseScale": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.Faq": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.FaultType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.FollowRecord": { "type": "object", "properties": { "client": { "$ref": "#/definitions/model.Client" }, "client_id": { "type": "integer" }, "client_status": { "$ref": "#/definitions/model.ClientStatus" }, "client_status_id": { "type": "integer" }, "codeStandID": { "type": "string" }, "contact": { "$ref": "#/definitions/model.Contact" }, "contact_id": { "type": "integer" }, "contact_information": { "$ref": "#/definitions/model.ContactInformation" }, "contact_information_id": { "type": "integer" }, "content": { "type": "string" }, "follow_time": { "type": "string" }, "id": { "type": "integer" }, "member": { "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" }, "next_follow_time": { "type": "string" }, "number": { "type": "string" }, "purpose": { "type": "string" }, "record": { "type": "string" }, "sale_chance": { "$ref": "#/definitions/model.SaleChance" }, "sale_chance_id": { "type": "integer" }, "sales_leads": { "$ref": "#/definitions/model.SalesLeads" }, "sales_leads_id": { "type": "integer" }, "topic": { "type": "string" } } }, "model.Industry": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.Invoice": { "type": "object", "properties": { "client": { "$ref": "#/definitions/model.Client" }, "clientId": { "description": "客户id", "type": "integer" }, "codeStandID": { "type": "string" }, "courierCompany": { "$ref": "#/definitions/model.CourierCompany" }, "courierCompanyId": { "description": "物流公司", "type": "integer" }, "courierNumber": { "description": "物流单号", "type": "string" }, "id": { "type": "integer" }, "invoiceDate": { "description": "开票日期", "type": "string" }, "invoiceNumber": { "description": "发票号码", "type": "string" }, "invoiceStatus": { "$ref": "#/definitions/model.InvoiceStatus" }, "invoiceStatusId": { "description": "发票状态id", "type": "integer" }, "invoiceType": { "$ref": "#/definitions/model.InvoiceType" }, "invoiceTypeId": { "description": "发票类型id", "type": "integer" }, "number": { "type": "string" }, "principalId": { "description": "销售负责人id", "type": "integer" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "sourceId": { "description": "源单id", "type": "integer" }, "sourceType": { "description": "源单类型(1销售明细单2服务合同)", "allOf": [ { "$ref": "#/definitions/constvar.InvoiceSourceType" } ] }, "subject": { "description": "主题", "type": "string" }, "taxpayerIdNumber": { "description": "纳税识别号", "type": "string" } } }, "model.InvoiceStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.InvoiceType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.IsInvoice": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.IsVisit": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.MasterOrder": { "type": "object", "properties": { "client": { "$ref": "#/definitions/model.Client" }, "client_id": { "type": "integer" }, "codeStandID": { "type": "string" }, "end_time": { "type": "string" }, "id": { "type": "integer" }, "member": { "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" }, "money": { "type": "number" }, "number": { "type": "string" }, "start_time": { "type": "string" } } }, "model.Menu": { "type": "object", "properties": { "children": { "type": "array", "items": { "$ref": "#/definitions/model.Menu" } }, "id": { "description": "主键ID", "type": "integer" }, "name": { "type": "string" }, "parentId": { "type": "integer" }, "path": { "type": "string" }, "title": { "type": "string" } } }, "model.OrderManage": { "type": "object", "properties": { "client": { "$ref": "#/definitions/model.Client" }, "clientId": { "type": "integer" }, "contactId": { "type": "integer" }, "file": { "type": "string" }, "id": { "type": "integer" }, "name": { "type": "string" }, "number": { "type": "string" }, "orderType": { "type": "integer" }, "problemDescription": { "type": "string" }, "reportSourceId": { "type": "integer" }, "sourceSheet": { "type": "integer" } } }, "model.OrderType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.PaymentType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.Plan": { "type": "object", "properties": { "clientId": { "type": "integer" }, "content": { "type": "string" }, "endTime": { "type": "string" }, "file": { "type": "string" }, "id": { "type": "integer" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "salesDetails": { "$ref": "#/definitions/model.SalesDetails" }, "salesDetailsId": { "type": "integer" }, "startTime": { "type": "string" }, "subOrder": { "$ref": "#/definitions/model.SubOrder" }, "subOrderId": { "type": "integer" } } }, "model.Possibility": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.PriorityLevel": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.Product": { "type": "object", "properties": { "amount": { "type": "number" }, "cost": { "type": "string" }, "desc": { "type": "string" }, "id": { "type": "integer" }, "margin": { "type": "string" }, "name": { "type": "string" }, "number": { "type": "string" }, "price": { "type": "number" }, "profit": { "type": "string" }, "specs": { "type": "string" }, "total": { "type": "number" }, "type": { "type": "string" }, "unit": { "type": "string" } } }, "model.Province": { "type": "object", "properties": { "cities": { "type": "array", "items": { "$ref": "#/definitions/model.City" } }, "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.Quotation": { "type": "object", "properties": { "amountTotal": { "description": "价格合计", "type": "number" }, "client": { "$ref": "#/definitions/model.Client" }, "client_id": { "type": "integer" }, "codeStandID": { "type": "string" }, "conditions": { "type": "string" }, "contact": { "$ref": "#/definitions/model.Contact" }, "contact_id": { "type": "integer" }, "file": { "type": "string" }, "id": { "type": "integer" }, "member": { "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" }, "number": { "type": "string" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "quotationName": { "type": "string" }, "quotation_status": { "$ref": "#/definitions/model.QuotationStatus" }, "quotation_status_id": { "type": "integer" }, "sale_chance": { "$ref": "#/definitions/model.SaleChance" }, "sale_chance_id": { "type": "integer" }, "validity_date": { "type": "string" } } }, "model.QuotationStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.Receipt": { "type": "object", "properties": { "amount": { "description": "收款金额", "type": "number" }, "bankAccount": { "$ref": "#/definitions/model.BankAccount" }, "bankAccountId": { "description": "账户id", "type": "integer" }, "client": { "description": "客户id", "allOf": [ { "$ref": "#/definitions/model.Client" } ] }, "clientId": { "description": "客户id", "type": "integer" }, "createTime": { "type": "string" }, "creatorName": { "type": "string" }, "fileId": { "description": "附件id", "type": "integer" }, "id": { "type": "integer" }, "moneyType": { "description": "币种", "type": "string" }, "number": { "type": "string" }, "paymentType": { "$ref": "#/definitions/model.PaymentType" }, "paymentTypeId": { "description": "收款方式ID", "type": "integer" }, "principal": { "description": "负责人id", "allOf": [ { "$ref": "#/definitions/model.User" } ] }, "principalId": { "description": "负责人id", "type": "integer" }, "receiptDate": { "description": "收款日期", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "sourceId": { "description": "源单id", "type": "integer" }, "sourceType": { "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)", "allOf": [ { "$ref": "#/definitions/constvar.ReceiptSourceType" } ] }, "updateTime": { "type": "string" } } }, "model.RefundMethod": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.RefundType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.Region": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.RegisteredCapital": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.RegularCustomers": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.ReportSource": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.Repository": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.SaleChance": { "type": "object", "properties": { "advantages": { "type": "string" }, "budget": { "type": "number" }, "capital_budget": { "type": "string" }, "city": { "$ref": "#/definitions/model.City" }, "city_id": { "type": "integer" }, "client": { "$ref": "#/definitions/model.Client" }, "client_id": { "type": "integer" }, "codeStandID": { "type": "string" }, "collection_projections": { "type": "array", "items": { "$ref": "#/definitions/model.CollectionProjection" } }, "competitors": { "type": "string" }, "contact": { "$ref": "#/definitions/model.Contact" }, "contact_id": { "type": "integer" }, "country": { "$ref": "#/definitions/model.Country" }, "country_id": { "type": "integer" }, "currency": { "type": "integer" }, "detail_address": { "type": "string" }, "disadvantages": { "type": "string" }, "expected_time": { "type": "string" }, "id": { "type": "integer" }, "key_factors": { "type": "string" }, "key_maker": { "type": "string" }, "member": { "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" }, "name": { "type": "string" }, "number": { "type": "string" }, "opportunities": { "type": "string" }, "pain_points": { "type": "string" }, "possibilities_id": { "type": "integer" }, "possibility": { "$ref": "#/definitions/model.Possibility" }, "process": { "type": "string" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "projected_amount": { "type": "number" }, "province": { "$ref": "#/definitions/model.Province" }, "province_id": { "type": "integer" }, "region": { "$ref": "#/definitions/model.Region" }, "region_id": { "type": "integer" }, "regular_customers": { "$ref": "#/definitions/model.RegularCustomers" }, "regular_customers_id": { "type": "integer" }, "remark": { "type": "string" }, "sale_stage": { "$ref": "#/definitions/model.SaleStage" }, "sale_stage_id": { "type": "integer" }, "sale_type": { "$ref": "#/definitions/model.SaleType" }, "sale_type_id": { "type": "integer" }, "sales_sources": { "$ref": "#/definitions/model.SalesSources" }, "sales_sources_id": { "type": "integer" }, "solutions": { "type": "string" }, "status": { "description": "状态", "allOf": [ { "$ref": "#/definitions/model.Status" } ] }, "status_id": { "type": "integer" }, "threats": { "type": "string" }, "whether_established": { "type": "string" } } }, "model.SaleStage": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.SaleType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.SalesDetails": { "type": "object", "properties": { "Member": { "$ref": "#/definitions/model.User" }, "address": { "type": "string" }, "addressee": { "type": "string" }, "amountInvoiced": { "description": "已开票金额", "type": "number" }, "amountReceivable": { "description": "应收金额", "type": "number" }, "amountReceived": { "description": "已收金额", "type": "number" }, "amountTotal": { "description": "价税合计", "type": "number" }, "amountUnInvoiced": { "description": "未开票金额", "type": "number" }, "client": { "$ref": "#/definitions/model.Client" }, "clientId": { "type": "integer" }, "codeStandID": { "type": "string" }, "conditions": { "type": "string" }, "createTime": { "type": "string" }, "creatorId": { "type": "integer" }, "creatorName": { "type": "string" }, "deliverType": { "type": "integer" }, "deliveryDate": { "type": "string" }, "id": { "type": "integer" }, "logisticCompany": { "type": "string" }, "logisticCost": { "type": "number" }, "logisticNumber": { "type": "string" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "phone": { "type": "string" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "projectId": { "type": "string" }, "quotation": { "$ref": "#/definitions/model.Quotation" }, "quotationId": { "type": "integer" }, "remark": { "type": "string" }, "saleChance": { "$ref": "#/definitions/model.SaleChance" }, "saleChanceId": { "type": "integer" }, "saleType": { "type": "integer" }, "signTime": { "type": "string" }, "source": { "type": "string" }, "status": { "$ref": "#/definitions/constvar.SalesDetailsStatus" }, "updateTime": { "type": "string" }, "wechatOrderStatus": { "$ref": "#/definitions/model.WechatOrderStatus" }, "wechatOrderStatusId": { "type": "integer" } } }, "model.SalesLeads": { "type": "object", "properties": { "city": { "$ref": "#/definitions/model.City" }, "city_id": { "type": "integer" }, "codeStandID": { "type": "string" }, "contact_name": { "type": "string" }, "contact_phone": { "type": "string" }, "contact_position": { "type": "string" }, "country": { "$ref": "#/definitions/model.Country" }, "country_id": { "type": "integer" }, "desc": { "type": "string" }, "detail_address": { "type": "string" }, "followRecord": { "type": "array", "items": { "$ref": "#/definitions/model.FollowRecord" } }, "id": { "type": "integer" }, "member": { "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" }, "name": { "type": "string" }, "number": { "type": "string" }, "province": { "$ref": "#/definitions/model.Province" }, "province_id": { "type": "integer" }, "reason": { "type": "string" }, "region": { "$ref": "#/definitions/model.Region" }, "region_id": { "type": "integer" }, "sales_sources": { "$ref": "#/definitions/model.SalesSources" }, "sales_sources_id": { "type": "integer" }, "sales_status": { "$ref": "#/definitions/constvar.SalesStatus" } } }, "model.SalesRefund": { "type": "object", "properties": { "RefundType": { "description": "退款方式", "allOf": [ { "$ref": "#/definitions/model.RefundType" } ] }, "amountTotal": { "description": "价税合计", "type": "number" }, "bankAccount": { "$ref": "#/definitions/model.BankAccount" }, "bankAccountId": { "description": "账户id", "type": "integer" }, "client": { "$ref": "#/definitions/model.Client" }, "clientId": { "type": "integer" }, "codeStandID": { "type": "string" }, "createTime": { "type": "string" }, "creatorName": { "type": "string" }, "id": { "type": "integer" }, "isInvoice": { "type": "string" }, "member": { "$ref": "#/definitions/model.User" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "paymentType": { "$ref": "#/definitions/model.PaymentType" }, "paymentTypeId": { "description": "收款方式ID", "type": "integer" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "reason": { "type": "string" }, "refundDate": { "type": "string" }, "refundTypeId": { "description": "退款方式ID", "type": "integer" }, "salesReturn": { "$ref": "#/definitions/model.SalesReturn" }, "sourceId": { "description": "源单id", "type": "integer" }, "sourceType": { "description": "来源类型(1销售退货)", "allOf": [ { "$ref": "#/definitions/constvar.RefundSourceType" } ] }, "updateTime": { "type": "string" } } }, "model.SalesReturn": { "type": "object", "properties": { "Member": { "$ref": "#/definitions/model.User" }, "SalesReturnStatus": { "description": "退货状态", "allOf": [ { "$ref": "#/definitions/model.SalesReturnStatus" } ] }, "amountHasRefund": { "description": "已退款金额", "type": "number" }, "amountShouldRefund": { "description": "应退款金额", "type": "number" }, "client": { "$ref": "#/definitions/model.Client" }, "clientId": { "type": "integer" }, "codeStandID": { "type": "string" }, "createTime": { "type": "string" }, "creatorName": { "type": "string" }, "id": { "type": "integer" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "products": { "description": "退货产品", "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "reason": { "description": "退货原因", "type": "string" }, "repository": { "type": "string" }, "returnDate": { "description": "退货日期", "type": "string" }, "salesReturnStatusId": { "description": "退货状态id", "type": "integer" }, "source": { "$ref": "#/definitions/model.SalesDetails" }, "sourceId": { "description": "源单id", "type": "integer" }, "sourceType": { "description": "源单类型(1销售明细)", "allOf": [ { "$ref": "#/definitions/constvar.SalesReturnSourceType" } ] }, "updateTime": { "type": "string" } } }, "model.SalesReturnStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.SalesSources": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.Satisfaction": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.ServiceCollectionPlan": { "type": "object", "properties": { "amount": { "description": "金额", "type": "number" }, "amountReceivable": { "description": "应收金额", "type": "number" }, "amountReceived": { "description": "已收金额", "type": "number" }, "amountTotal": { "description": "总额", "type": "number" }, "collectionDate": { "description": "计划收款日期", "type": "string" }, "collectionType": { "description": "类型(1 计划收款日期 2 项目状态)", "type": "integer" }, "fileId": { "description": "附件id", "type": "integer" }, "id": { "type": "integer" }, "moneyType": { "description": "币种", "type": "string" }, "percent": { "description": "比例", "type": "number" }, "principal": { "description": "收款负责人ID", "allOf": [ { "$ref": "#/definitions/model.User" } ] }, "principalId": { "description": "收款负责人ID", "type": "integer" }, "remark": { "description": "备注", "type": "string" }, "sourceId": { "description": "源单id", "type": "integer" }, "sourceType": { "description": "源单类型(1销售明细2服务合同3销售发票)", "allOf": [ { "$ref": "#/definitions/constvar.CollectionSourceType" } ] }, "status": { "description": "状态(1未收2部分已收3已收)", "allOf": [ { "$ref": "#/definitions/constvar.CollectionStatus" } ] }, "term": { "description": "期次", "type": "integer" } } }, "model.ServiceContract": { "type": "object", "properties": { "SaleChance": { "$ref": "#/definitions/model.SaleChance" }, "amountInvoiced": { "description": "已开票金额", "type": "number" }, "amountReceivable": { "description": "应收金额", "type": "number" }, "amountReceived": { "description": "已收金额", "type": "number" }, "amountTotal": { "description": "价税合计", "type": "number" }, "amountUnInvoiced": { "description": "未开票金额", "type": "number" }, "client": { "$ref": "#/definitions/model.Client" }, "clientId": { "type": "integer" }, "codeStandID": { "type": "string" }, "contact": { "$ref": "#/definitions/model.Contact" }, "contactId": { "type": "integer" }, "createTime": { "type": "string" }, "creatorName": { "type": "string" }, "endTime": { "type": "string" }, "id": { "type": "integer" }, "member": { "$ref": "#/definitions/model.User" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "quotation": { "$ref": "#/definitions/model.Quotation" }, "quotationId": { "type": "integer" }, "remark": { "type": "string" }, "saleChanceId": { "type": "integer" }, "salesDetails": { "$ref": "#/definitions/model.SalesDetails" }, "salesDetailsId": { "type": "integer" }, "serviceContractStatus": { "$ref": "#/definitions/model.ServiceContractStatus" }, "serviceContractStatusId": { "type": "integer" }, "serviceContractType": { "$ref": "#/definitions/model.ServiceContractType" }, "serviceContractTypeId": { "type": "integer" }, "serviceTimes": { "type": "integer" }, "signTime": { "type": "string" }, "startTime": { "type": "string" }, "terms": { "type": "string" }, "updateTime": { "type": "string" } } }, "model.ServiceContractStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.ServiceContractType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.ServiceFeeManage": { "type": "object", "properties": { "client": { "$ref": "#/definitions/model.Client" }, "client_id": { "type": "integer" }, "file": { "type": "string" }, "id": { "type": "integer" }, "latest_date": { "type": "string" }, "member_id": { "type": "integer" }, "remark": { "type": "string" } } }, "model.ServiceFollowup": { "type": "object", "properties": { "Member": { "$ref": "#/definitions/model.User" }, "client": { "$ref": "#/definitions/model.Client" }, "clientId": { "type": "integer" }, "codeStandID": { "type": "string" }, "contact": { "$ref": "#/definitions/model.Contact" }, "contactId": { "type": "integer" }, "createTime": { "type": "string" }, "creatorName": { "type": "string" }, "file": { "type": "string" }, "id": { "type": "integer" }, "isVisit": { "$ref": "#/definitions/model.IsVisit" }, "isVisitId": { "type": "integer" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "oldMember": { "$ref": "#/definitions/model.User" }, "oldMemberId": { "type": "integer" }, "planId": { "type": "integer" }, "remark": { "type": "string" }, "satisfaction": { "$ref": "#/definitions/model.Satisfaction" }, "satisfactionId": { "type": "integer" }, "serviceOrder": { "$ref": "#/definitions/model.ServiceOrder" }, "serviceOrderId": { "type": "integer" }, "solveRate": { "$ref": "#/definitions/model.SolveRate" }, "solveRateId": { "type": "integer" }, "timelyRate": { "$ref": "#/definitions/model.TimelyRate" }, "timelyRateId": { "type": "integer" }, "updateTime": { "type": "string" } } }, "model.ServiceOrder": { "type": "object", "properties": { "address": { "description": "上门地址", "type": "string" }, "appointmentTime": { "description": "预约上门时间", "type": "string" }, "carFare": { "description": "交通费 // 交通费", "type": "number" }, "chargeAmount": { "description": "收费金额 // 收费金额", "type": "number" }, "client": { "$ref": "#/definitions/model.Client" }, "clientId": { "description": "客户id", "type": "integer" }, "codeStandID": { "type": "string" }, "contact": { "$ref": "#/definitions/model.Contact" }, "contactId": { "description": "联系人id", "type": "integer" }, "createTime": { "type": "string" }, "creatorName": { "type": "string" }, "expectTime": { "description": "希望处理时间", "type": "string" }, "faq": { "$ref": "#/definitions/model.Faq" }, "faqId": { "description": "常见问题id", "type": "integer" }, "faultType": { "$ref": "#/definitions/model.FaultType" }, "faultTypeId": { "description": "故障类别id", "type": "integer" }, "id": { "type": "integer" }, "number": { "type": "string" }, "priorityLevel": { "$ref": "#/definitions/model.PriorityLevel" }, "priorityLevelId": { "description": "优先级别id", "type": "integer" }, "problemDesc": { "description": "问题描述", "type": "string" }, "productName": { "description": "产品名称", "type": "string" }, "productTypeName": { "description": "产品分类名称", "type": "string" }, "realTime": { "description": "实际处理时间", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "saleChance": { "$ref": "#/definitions/model.SaleChance" }, "saleChanceId": { "description": "销售机会id", "type": "integer" }, "salesDetails": { "$ref": "#/definitions/model.SalesDetails" }, "salesDetailsId": { "description": "销售明细id", "type": "integer" }, "serviceContract": { "$ref": "#/definitions/model.ServiceContract" }, "serviceContractId": { "description": "服务合同id", "type": "integer" }, "serviceMan": { "description": "服务人员", "allOf": [ { "$ref": "#/definitions/model.User" } ] }, "serviceManId": { "description": "服务人员", "type": "integer" }, "serviceNumber": { "description": "服务单编号", "type": "string" }, "serviceOrderStatus": { "$ref": "#/definitions/model.ServiceOrderStatus" }, "serviceOrderStatusId": { "description": "处理状态", "type": "integer" }, "serviceType": { "$ref": "#/definitions/model.ServiceType" }, "serviceTypeId": { "description": "服务方式id", "type": "integer" }, "severity": { "$ref": "#/definitions/model.Severity" }, "severityId": { "description": "严重程度id", "type": "integer" }, "solution": { "description": "解决方法", "type": "string" }, "solutionRemark": { "description": "内部备注", "type": "string" }, "subject": { "description": "主题", "type": "string" }, "timeSpent": { "$ref": "#/definitions/model.TimeSpent" }, "timeSpentId": { "description": "花费时间", "type": "integer" }, "updateTime": { "type": "string" } } }, "model.ServiceOrderStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.ServiceType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.Severity": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.SolveRate": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.Status": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.SubOrder": { "type": "object", "properties": { "client": { "$ref": "#/definitions/model.Client" }, "clientId": { "type": "integer" }, "codeStandID": { "type": "string" }, "id": { "type": "integer" }, "masterOrder": { "$ref": "#/definitions/model.MasterOrder" }, "masterOrderId": { "type": "integer" }, "member": { "$ref": "#/definitions/model.User" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } } } }, "model.SystemSet": { "type": "object", "properties": { "id": { "type": "integer" }, "modeType": { "type": "string" }, "name": { "type": "string" }, "value": { "type": "string" } } }, "model.TimeSpent": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.TimelyRate": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "model.User": { "type": "object", "properties": { "authority": { "$ref": "#/definitions/model.Authority" }, "authorityId": { "description": "用户角色ID", "type": "integer" }, "departmentId": { "type": "integer" }, "email": { "type": "string" }, "headerImg": { "type": "string" }, "id": { "type": "integer" }, "menuIds": { "description": "菜单ID列表", "type": "array", "items": { "type": "integer" } }, "nickName": { "type": "string" }, "phone": { "type": "string" }, "pos": { "type": "string" }, "realName": { "type": "string" }, "subUserIds": { "description": "下属员工用户id,用逗号分开", "type": "string" }, "userType": { "$ref": "#/definitions/constvar.UserType" }, "username": { "type": "string" }, "uuid": { "type": "string" } } }, "model.WechatOrderStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "product.Product": { "type": "object", "properties": { "Amount": { "description": "库存剩余量", "type": "number" }, "IsSale": { "description": "是否销售", "type": "boolean" }, "MaterialMode": { "description": "物料类型", "type": "string" }, "MaxInventory": { "description": "最大库存", "type": "integer" }, "MinInventory": { "description": "安全库存", "type": "integer" }, "Name": { "type": "string" }, "Node": { "description": "备注", "type": "string" }, "Number": { "type": "string" }, "PurchaseType": { "description": "采购类型", "type": "string" }, "SalePrice": { "description": "销售价格", "type": "number" }, "Specs": { "description": "规格", "type": "string" }, "Type": { "description": "型号", "type": "string" }, "Unit": { "type": "string" } } }, "request.AddAccountId": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddAuthority": { "type": "object", "properties": { "authorityName": { "type": "string" }, "casbinInfos": { "type": "array", "items": { "$ref": "#/definitions/request.CasbinInfo" } } } }, "request.AddBankAccount": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.AddCity": { "type": "object", "properties": { "name": { "description": "城市名称", "type": "array", "items": { "type": "string" } } } }, "request.AddClient": { "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" }, "codeStandID": { "description": "编码id", "type": "string" }, "contact": { "$ref": "#/definitions/request.Contact" }, "contact_id": { "description": "联系人ID", "type": "integer" }, "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" }, "sales_leads_id": { "description": "销售线索ID", "type": "integer" }, "service_member_id": { "description": "服务负责人ID", "type": "integer" } } }, "request.AddClientOrigin": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddClientStatus": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddClientType": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddCollectionProjection": { "type": "object", "properties": { "estimated_collection_amount": { "description": "预计收款金额", "type": "number" }, "estimated_collection_time": { "description": "预计收款时间", "type": "string" }, "sale_chance_id": { "description": "销售机会id", "type": "integer" } } }, "request.AddContact": { "type": "object", "properties": { "birthday": { "description": "生日", "type": "string", "example": "1970-01-01 08:00:00" }, "city_id": { "description": "城市ID", "type": "integer" }, "client_id": { "description": "所属公司ID", "type": "integer" }, "country_id": { "description": "国家ID", "type": "integer" }, "desc": { "description": "备注", "type": "string" }, "email": { "description": "邮箱", "type": "string" }, "is_first": { "description": "是否首要联系人", "type": "boolean" }, "member_id": { "description": "所属成员ID", "type": "integer" }, "name": { "description": "联系人名称", "type": "string" }, "number": { "description": "联系人编号", "type": "string" }, "phone": { "description": "手机号", "type": "string" }, "position": { "description": "职位", "type": "string" }, "province_id": { "description": "省份ID", "type": "integer" }, "region_id": { "description": "区域ID", "type": "integer" }, "wechat": { "description": "微信号", "type": "string" } } }, "request.AddContract": { "type": "object", "properties": { "client_id": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "contractName": { "description": "合同名称", "type": "string" }, "file": { "type": "string" }, "member_id": { "type": "integer" }, "number": { "type": "string" }, "quotation_id": { "type": "integer" }, "sendTime": { "description": "发货时间", "type": "string" }, "status_id": { "type": "integer" } } }, "request.AddCountry": { "type": "object", "properties": { "name": { "description": "国家名称", "type": "string" } } }, "request.AddCourierCompany": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.AddCurrency": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddCustomerServiceSheet": { "type": "object", "properties": { "handleStatus": { "type": "integer" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "priority": { "type": "integer" }, "serviceMode": { "type": "integer" } } }, "request.AddDepartment": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddEnterpriseNature": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddEnterpriseScale": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddFaq": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.AddFaultType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.AddFollowRecord": { "type": "object", "required": [ "follow_record" ], "properties": { "follow_record": { "$ref": "#/definitions/request.FollowRecord" } } }, "request.AddIndustry": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddInvoice": { "type": "object", "properties": { "clientId": { "description": "客户id", "type": "integer" }, "codeStandID": { "type": "string" }, "courierCompanyId": { "description": "物流公司", "type": "integer" }, "courierNumber": { "description": "物流单号", "type": "string" }, "invoiceDate": { "description": "开票日期", "type": "string" }, "invoiceNumber": { "description": "发票号码", "type": "string" }, "invoiceStatusId": { "description": "发票状态id", "type": "integer" }, "invoiceTypeId": { "description": "发票类型id", "type": "integer" }, "number": { "description": "发票编号", "type": "string" }, "principalId": { "description": "销售负责人id", "type": "integer" }, "products": { "description": "发票对应产品,从相应源单里获取", "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "sourceId": { "description": "源单id", "type": "integer" }, "sourceType": { "description": "源单类型(1销售明细单2服务合同)", "allOf": [ { "$ref": "#/definitions/constvar.InvoiceSourceType" } ] }, "subject": { "description": "主题", "type": "string" }, "taxpayerIdNumber": { "description": "纳税识别号", "type": "string" } } }, "request.AddInvoiceStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.AddInvoiceType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.AddIsInvoice": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddIsVisit": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddMasterOrder": { "type": "object", "properties": { "client_id": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "end_time": { "type": "string" }, "member_id": { "type": "integer" }, "money": { "type": "number" }, "number": { "type": "string" }, "start_time": { "type": "string" } } }, "request.AddOrderManage": { "type": "object", "properties": { "clientId": { "type": "integer" }, "contactId": { "type": "integer" }, "file": { "type": "string" }, "name": { "type": "string" }, "number": { "type": "string" }, "orderType": { "type": "integer" }, "problemDescription": { "type": "string" }, "reportSourceId": { "type": "integer" }, "sourceSheet": { "type": "integer" } } }, "request.AddOrderType": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddPaymentType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.AddPlan": { "type": "object", "properties": { "plan": { "$ref": "#/definitions/request.Plan" } } }, "request.AddPossibility": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddPriorityLevel": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.AddProvince": { "type": "object", "properties": { "name": { "description": "省份名称", "type": "string" } } }, "request.AddQuotation": { "type": "object", "properties": { "client_id": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "conditions": { "type": "string" }, "contact_id": { "type": "integer" }, "file": { "type": "string" }, "member_id": { "type": "integer" }, "number": { "type": "string" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "quotationName": { "description": "报价单名称", "type": "string" }, "quotation_status_id": { "type": "integer" }, "sale_chance_id": { "type": "integer" }, "validity_date": { "type": "string" } } }, "request.AddQuotationStatus": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddReceipt": { "type": "object", "properties": { "amount": { "description": "收款金额", "type": "number" }, "bankAccount": { "$ref": "#/definitions/model.BankAccount" }, "bankAccountId": { "description": "账户id", "type": "integer" }, "client": { "description": "客户id", "allOf": [ { "$ref": "#/definitions/model.Client" } ] }, "clientId": { "description": "客户id", "type": "integer" }, "createTime": { "type": "string" }, "creatorName": { "type": "string" }, "fileId": { "description": "附件id", "type": "integer" }, "id": { "type": "integer" }, "moneyType": { "description": "币种", "type": "string" }, "number": { "type": "string" }, "paymentType": { "$ref": "#/definitions/model.PaymentType" }, "paymentTypeId": { "description": "收款方式ID", "type": "integer" }, "principal": { "description": "负责人id", "allOf": [ { "$ref": "#/definitions/model.User" } ] }, "principalId": { "description": "负责人id", "type": "integer" }, "receiptDate": { "description": "收款日期", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "sourceId": { "description": "源单id", "type": "integer" }, "sourceType": { "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)", "allOf": [ { "$ref": "#/definitions/constvar.ReceiptSourceType" } ] }, "updateTime": { "type": "string" } } }, "request.AddRefundMethod": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddRefundType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.AddRegion": { "type": "object", "properties": { "name": { "description": "地区名称", "type": "string" } } }, "request.AddRegisteredCapital": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddRegularCustomers": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddReportSource": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddRepository": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddSaleChance": { "type": "object", "properties": { "advantages": { "type": "string" }, "budget": { "type": "number" }, "capital_budget": { "type": "string" }, "city_id": { "type": "integer" }, "client_id": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "competitors": { "type": "string" }, "contact_id": { "type": "integer" }, "country_id": { "type": "integer" }, "currency": { "type": "integer" }, "detail_address": { "type": "string" }, "disadvantages": { "type": "string" }, "expected_time": { "type": "string" }, "key_factors": { "type": "string" }, "key_maker": { "type": "string" }, "member_id": { "type": "integer" }, "name": { "type": "string" }, "number": { "type": "string" }, "opportunities": { "type": "string" }, "pain_points": { "type": "string" }, "possibilities": { "type": "integer" }, "process": { "type": "string" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "projected_amount": { "type": "number" }, "province_id": { "type": "integer" }, "region_id": { "type": "integer" }, "regular_customers_id": { "type": "integer" }, "remark": { "type": "string" }, "sale_stage_id": { "type": "integer" }, "sale_type_id": { "type": "integer" }, "sales_sources_id": { "type": "integer" }, "solutions": { "type": "string" }, "status_id": { "type": "integer" }, "threats": { "type": "string" }, "whether_established": { "type": "string" } } }, "request.AddSaleStage": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddSaleType": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddSalesDetails": { "type": "object", "properties": { "Member": { "$ref": "#/definitions/model.User" }, "address": { "type": "string" }, "addressee": { "type": "string" }, "client": { "$ref": "#/definitions/model.Client" }, "clientId": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "conditions": { "type": "string" }, "deliverType": { "description": "交付类型:1.一次发货,2.多次发货", "type": "integer" }, "deliveryDate": { "type": "string" }, "logisticCompany": { "type": "string" }, "logisticCost": { "type": "number" }, "logisticNumber": { "type": "string" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "phone": { "type": "string" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "projectId": { "type": "string" }, "quotationId": { "type": "integer" }, "remark": { "type": "string" }, "saleChanceId": { "type": "integer" }, "saleType": { "type": "integer" }, "signTime": { "type": "string" }, "source": { "type": "string" }, "status": { "$ref": "#/definitions/constvar.SalesDetailsStatus" }, "wechatOrderStatusId": { "type": "integer" } } }, "request.AddSalesLeads": { "type": "object", "properties": { "city_id": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "contact_name": { "description": "联系人姓名", "type": "string" }, "contact_phone": { "description": "联系人电话", "type": "string" }, "contact_position": { "description": "联系人职位", "type": "string" }, "country_id": { "type": "integer" }, "desc": { "description": "备注", "type": "string" }, "detail_address": { "description": "详细地址", "type": "string" }, "member_id": { "description": "销售负责人ID", "type": "integer" }, "name": { "description": "公司名称", "type": "string" }, "number": { "description": "销售线索编号", "type": "string" }, "province_id": { "type": "integer" }, "region_id": { "type": "integer" }, "sales_sources_id": { "description": "商机来源ID", "type": "integer" } } }, "request.AddSalesRefundRequest": { "type": "object", "properties": { "salesRefund": { "$ref": "#/definitions/request.SalesRefund" } } }, "request.AddSalesReturnRequest": { "type": "object", "properties": { "salesReturn": { "$ref": "#/definitions/request.SalesReturn" } } }, "request.AddSalesReturnStatus": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddSalesSources": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddSatisfaction": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddServiceCollectionPlan": { "type": "object", "required": [ "list" ], "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.ServiceCollectionPlan" } } } }, "request.AddServiceContract": { "type": "object", "required": [ "memberId" ], "properties": { "clientId": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "contactId": { "type": "integer" }, "endTime": { "type": "string" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "quotationId": { "type": "integer" }, "remark": { "type": "string" }, "saleChanceId": { "type": "integer" }, "salesDetailsId": { "type": "integer" }, "serviceContractStatusId": { "type": "integer" }, "serviceContractTypeId": { "type": "integer" }, "serviceTimes": { "type": "integer" }, "signTime": { "type": "string" }, "startTime": { "type": "string" }, "statusId": { "type": "integer" }, "terms": { "type": "string" }, "typeId": { "type": "integer" } } }, "request.AddServiceContractStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.AddServiceContractType": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddServiceFeeManage": { "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" }, "codeStandID": { "description": "编码id", "type": "string" }, "contact": { "$ref": "#/definitions/request.Contact" }, "contact_id": { "description": "联系人ID", "type": "integer" }, "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" }, "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" }, "sales_leads_id": { "description": "销售线索ID", "type": "integer" }, "service_member_id": { "description": "服务负责人ID", "type": "integer" } } }, "request.AddServiceFollowup": { "type": "object", "properties": { "clientId": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "contactId": { "type": "integer" }, "file": { "type": "string" }, "isVisit": { "type": "integer" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "oldMemberId": { "type": "integer" }, "planId": { "type": "integer" }, "remark": { "type": "string" }, "satisfaction": { "type": "integer" }, "serviceOrderId": { "type": "integer" }, "solveRate": { "type": "integer" }, "timelyRate": { "type": "integer" } } }, "request.AddServiceOrder": { "type": "object", "properties": { "address": { "description": "上门地址", "type": "string" }, "appointmentTime": { "description": "预约上门时间", "type": "string" }, "carFare": { "description": "交通费", "type": "number" }, "chargeAmount": { "description": "收费金额", "type": "number" }, "clientId": { "description": "客户id", "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "contactId": { "description": "联系人id", "type": "integer" }, "expectTime": { "description": "希望处理时间", "type": "string" }, "faqId": { "description": "常见问题id", "type": "integer" }, "faultTypeId": { "description": "故障类别id", "type": "integer" }, "priorityLevelId": { "description": "优先级别id", "type": "integer" }, "problemDesc": { "description": "问题描述", "type": "string" }, "productName": { "description": "产品名称", "type": "string" }, "productTypeName": { "description": "产品分类名称", "type": "string" }, "realTime": { "description": "实际处理时间", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "saleChanceId": { "description": "销售机会id", "type": "integer" }, "salesDetailsId": { "description": "销售订单id", "type": "integer" }, "serviceContractId": { "description": "合同id", "type": "integer" }, "serviceManId": { "description": "服务人员", "type": "integer" }, "serviceNumber": { "description": "服务单编号", "type": "string" }, "serviceOrderStatusId": { "description": "处理状态", "type": "integer" }, "serviceTypeId": { "description": "服务方式id", "type": "integer" }, "severityId": { "description": "严重程度id", "type": "integer" }, "solution": { "description": "解决方法", "type": "string" }, "solutionRemark": { "description": "内部备注", "type": "string" }, "subject": { "description": "主题", "type": "string" }, "timeSpentId": { "description": "花费时间", "type": "integer" } } }, "request.AddServiceOrderStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.AddServiceType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.AddSeverity": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.AddSolveRate": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddStatus": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "request.AddSubOrder": { "type": "object", "properties": { "clientId": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "masterOrderId": { "type": "integer" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "product": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } } } }, "request.AddTimeSpent": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "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" } } }, "request.AddWechatOrderStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.Assign": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } }, "member_id": { "type": "integer" }, "type": { "description": "类型: client: 客户; salesLead: 销售线索; contact: 联系人; followRecord: 跟进记录", "type": "string" } } }, "request.CasbinInfo": { "type": "object", "properties": { "method": { "description": "方法", "type": "string" }, "path": { "description": "路径", "type": "string" } } }, "request.CheckClientName": { "type": "object", "properties": { "name": { "type": "string" } } }, "request.CommonIds": { "type": "object", "required": [ "ids" ], "properties": { "ids": { "type": "array", "items": { "type": "integer" } } } }, "request.ConfirmOutput": { "type": "object", "properties": { "products": { "type": "array", "items": { "$ref": "#/definitions/request.ConfirmOutputProducts" } }, "saleDetailNumber": { "type": "string" } } }, "request.ConfirmOutputOver": { "type": "object", "properties": { "saleDetailNumber": { "type": "string" } } }, "request.ConfirmOutputProducts": { "type": "object", "properties": { "number": { "description": "产品编号", "type": "string" }, "outputAmount": { "description": "本次发货数量", "type": "number" } } }, "request.Contact": { "type": "object", "properties": { "birthday": { "description": "生日", "type": "string", "example": "1970-01-01 08:00:00" }, "city_id": { "description": "城市ID", "type": "integer" }, "client_id": { "description": "所属公司ID", "type": "integer" }, "country_id": { "description": "国家ID", "type": "integer" }, "desc": { "description": "备注", "type": "string" }, "email": { "description": "邮箱", "type": "string" }, "is_first": { "description": "是否首要联系人", "type": "boolean" }, "member_id": { "description": "所属成员ID", "type": "integer" }, "name": { "description": "联系人名称", "type": "string" }, "number": { "description": "联系人编号", "type": "string" }, "phone": { "description": "手机号", "type": "string" }, "position": { "description": "职位", "type": "string" }, "province_id": { "description": "省份ID", "type": "integer" }, "region_id": { "description": "区域ID", "type": "integer" }, "wechat": { "description": "微信号", "type": "string" } } }, "request.DeleteClient": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } } } }, "request.DeleteContact": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } } } }, "request.DeleteContract": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } } } }, "request.DeleteCountry": { "type": "object", "properties": { "id": { "description": "国家ID", "type": "integer" } } }, "request.DeleteFollowRecord": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } } } }, "request.DeleteMasterOrder": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } } } }, "request.DeleteOrderManage": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } } } }, "request.DeleteQuotation": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } } } }, "request.DeleteSaleChance": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } } } }, "request.DeleteSalesLeads": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } } } }, "request.DeleteServiceFeeManage": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } } } }, "request.DeleteServiceFollowup": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } } } }, "request.DeleteSubOrder": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } } } }, "request.DownloadFile": { "type": "object", "required": [ "id", "key", "sourceId", "sourceType" ], "properties": { "id": { "description": "附件id", "type": "integer" }, "key": { "description": "附件存储key", "type": "string" }, "sourceId": { "description": "来源id", "type": "integer" }, "sourceType": { "description": "附件来源", "type": "string" } } }, "request.FollowRecord": { "type": "object", "properties": { "client_id": { "type": "integer" }, "client_status_id": { "type": "integer" }, "codeStandID": { "type": "string" }, "contact_id": { "type": "integer" }, "contact_information_id": { "type": "integer" }, "content": { "type": "string" }, "follow_time": { "type": "string" }, "member_id": { "type": "integer" }, "next_follow_time": { "type": "string" }, "number": { "type": "string" }, "purpose": { "type": "string" }, "record": { "type": "string" }, "sale_chance_id": { "type": "integer" }, "sales_leads_id": { "type": "integer" }, "topic": { "type": "string" } } }, "request.GetClientList": { "type": "object", "properties": { "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\": \"重要级别\",\"representative\": \"法定代表人\", \"registration_time\": \"注册时间\", \"business_scope\": \"经营范围\", \"remark\": \"备注\", \"not_admin\":\"1:我的客户; 2:admin客户\"}", "type": "object", "additionalProperties": true } } }, "request.GetContactList": { "type": "object", "properties": { "clientId": { "description": "客户id", "type": "integer" }, "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\": \"重要级别\", \"is_first\": \"是否是首要联系人\", \"client_id\": \"clientId 用于返回首要联系人\"}", "type": "object", "additionalProperties": true } } }, "request.GetContractList": { "type": "object", "properties": { "keyword": { "type": "string" }, "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "search_map": { "description": "搜索条件: map[string]interface{} {\"member_name\": \"销售负责人\", \"number\": \"合同编号\", \"created_at\": \"创建时间\"}", "type": "object", "additionalProperties": true } } }, "request.GetFaqList": { "type": "object", "properties": { "keyword": { "type": "string" }, "keywordType": { "$ref": "#/definitions/constvar.FaqKeywordType" }, "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "queryClass": { "$ref": "#/definitions/constvar.FaqQueryClass" } } }, "request.GetFollowRecordList": { "type": "object", "properties": { "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "search_map": { "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"跟进主题\", \"member_name\": \"跟进人\", \"client_name\": \"客户名称\", \"client_status\": \"客户状态\", \"follow_time\": \"跟进时间\", \"next_follow_time\": \"下次跟进时间\", \"record\": \"跟进记录\", \"phone\": \"联系人电话\", \"contact_name\": \"联系人姓名\", \"sales_leads_id\": \"销售线索id\", \"sale_chance_id\": \"销售机会id\"}", "type": "object", "additionalProperties": true } } }, "request.GetInvoiceList": { "type": "object", "properties": { "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "principalIds": { "type": "array", "items": { "type": "integer" } }, "sourceId": { "type": "integer" }, "sourceType": { "description": "源单类型(1销售明细单2服务合同)", "allOf": [ { "$ref": "#/definitions/constvar.InvoiceSourceType" } ] } } }, "request.GetMasterOrderList": { "type": "object", "properties": { "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "search_map": { "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"number\": \"销售总单号\", \"client_name\": \"客户名称\", \"member_name\": \"销售负责人\", \"start_time\": \"开始时间\", \"end_time\": \"结束时间\", \"money\": \"总金额\", \"member_name\": \"负责人\"}", "type": "object", "additionalProperties": true } } }, "request.GetOrderManageList": { "type": "object", "properties": { "keyword": { "type": "string" }, "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" } } }, "request.GetPlanList": { "type": "object", "properties": { "keyword": { "type": "string" }, "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" } } }, "request.GetQuotationList": { "type": "object", "properties": { "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "search_map": { "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"sale_chance_id\": 销售线索id, \"client_name\": \"客户名称\", \"member_name\": \"销售负责人\", \"contact_name\": \"联系人\", \"validity_date\": \"有效期\"}", "type": "object", "additionalProperties": true } } }, "request.GetSaleChanceList": { "type": "object", "properties": { "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "search_map": { "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"机会名称\", \"client_name\": \"客户名称\",\"number\":\"编号\", \"contact_name\":\"联系人姓名\", \"member_name\": \"销售负责人\", \"status\": \"状态\", \"sale_stage\": \"阶段\", \"possibilities\": \"可能性\", \"expected_time\": \"预计成交时间\", \"budget\": \"资金绝对值\", \"projected_amount\": \"预计合同金额\"}", "type": "object", "additionalProperties": true } } }, "request.GetSalesDetailsList": { "type": "object", "properties": { "clientId": { "description": "客户id", "type": "integer" }, "keyword": { "type": "string" }, "keywordType": { "$ref": "#/definitions/constvar.SalesDetailsKeywordType" }, "number": { "description": "销售明细单号", "type": "string" }, "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "saleChanceId": { "description": "销售机会id", "type": "integer" } } }, "request.GetSalesLeadsList": { "type": "object", "properties": { "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "search_map": { "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"} {\"name\": \"客户名称\", \"number\": \"销售线索编号\", \"contact_name\": \"联系人姓名\", \"phone\": \"手机号码\", \"sales_resources\": \"商机来源\", \"city\": \"城市\", \"province\": \"省份\", \"member_name\": \"负责人\"}", "type": "object", "additionalProperties": true } } }, "request.GetSalesRefundList": { "type": "object", "properties": { "keyword": { "type": "string" }, "keywordType": { "$ref": "#/definitions/constvar.SalesRefundKeywordType" }, "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "sourceId": { "type": "integer" } } }, "request.GetSalesReturnList": { "type": "object", "properties": { "clientId": { "description": "客户id", "type": "integer" }, "keyword": { "type": "string" }, "keywordType": { "$ref": "#/definitions/constvar.SalesReturnKeywordType" }, "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "sourceId": { "description": "源单id", "type": "integer" }, "sourceType": { "description": "源单类型(1销售明细)", "allOf": [ { "$ref": "#/definitions/constvar.SalesReturnSourceType" } ] } } }, "request.GetServiceCollectionPlanList": { "type": "object", "required": [ "sourceId", "sourceType" ], "properties": { "sourceId": { "type": "integer" }, "sourceType": { "$ref": "#/definitions/constvar.CollectionSourceType" } } }, "request.GetServiceContractList": { "type": "object", "properties": { "contactId": { "description": "联系人id", "type": "integer" }, "keyword": { "type": "string" }, "keywordType": { "$ref": "#/definitions/constvar.ServiceContractKeywordType" }, "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "queryClass": { "$ref": "#/definitions/constvar.ServiceContractQueryClass" }, "quotationId": { "description": "报价单id", "type": "integer" }, "saleChanceId": { "description": "销售机会id", "type": "integer" }, "salesDetailsId": { "description": "合同订单id", "type": "integer" } } }, "request.GetServiceFeeManageList": { "type": "object", "properties": { "keyword": { "type": "string" }, "keywordType": { "$ref": "#/definitions/constvar.ServiceFeeKeywordType" }, "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "queryClass": { "$ref": "#/definitions/constvar.ServiceFeeQueryClass" } } }, "request.GetServiceFollowupList": { "type": "object", "properties": { "keyword": { "type": "string" }, "keywordType": { "$ref": "#/definitions/constvar.ServiceFollowupKeywordType" }, "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "serviceOrderId": { "description": "服务回访单id", "type": "integer" } } }, "request.GetServiceOrderList": { "type": "object", "properties": { "keyword": { "type": "string" }, "keywordType": { "$ref": "#/definitions/constvar.ServiceOrderKeywordType" }, "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "queryClass": { "$ref": "#/definitions/constvar.ServiceOrderQueryClass" }, "salesDetailsId": { "type": "integer" }, "serviceContractId": { "type": "integer" } } }, "request.GetSubOrderList": { "type": "object", "properties": { "page": { "description": "页码", "type": "integer" }, "pageSize": { "description": "每页大小", "type": "integer" }, "search_map": { "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"number\": \"销售子单号\", \"client_name\": \"客户名称\", \"master_order_number\": \"销售总单号\", \"member_name\": \"销售负责人\", \"master_order_id\": \"销售总单id\"}", "type": "object", "additionalProperties": true } } }, "request.Plan": { "type": "object", "properties": { "clientId": { "type": "integer" }, "content": { "type": "string" }, "endTime": { "type": "string" }, "file": { "type": "string" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "salesDetailsId": { "type": "integer" }, "startTime": { "type": "string" }, "subOrderId": { "type": "integer" } } }, "request.PushSaleChance": { "type": "object", "required": [ "id", "step" ], "properties": { "id": { "type": "integer" }, "step": { "type": "integer" } } }, "request.PushSalesLeads": { "type": "object", "properties": { "id": { "type": "integer" }, "reason": { "type": "string" }, "step": { "description": "商机状态: 1: 跟进中; -1:失败", "allOf": [ { "$ref": "#/definitions/constvar.SalesStatus" } ] } } }, "request.SalesDetails": { "type": "object", "properties": { "Member": { "$ref": "#/definitions/model.User" }, "address": { "type": "string" }, "addressee": { "type": "string" }, "client": { "$ref": "#/definitions/model.Client" }, "clientId": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "conditions": { "type": "string" }, "deliverType": { "description": "交付类型:1.一次发货,2.多次发货", "type": "integer" }, "deliveryDate": { "type": "string" }, "logisticCompany": { "type": "string" }, "logisticCost": { "type": "number" }, "logisticNumber": { "type": "string" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "phone": { "type": "string" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "projectId": { "type": "string" }, "quotationId": { "type": "integer" }, "remark": { "type": "string" }, "saleChanceId": { "type": "integer" }, "saleType": { "type": "integer" }, "signTime": { "type": "string" }, "source": { "type": "string" }, "status": { "$ref": "#/definitions/constvar.SalesDetailsStatus" }, "wechatOrderStatusId": { "type": "integer" } } }, "request.SalesRefund": { "type": "object", "required": [ "sourceId", "sourceType" ], "properties": { "bankAccountId": { "description": "账户id", "type": "integer" }, "clientId": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "isInvoice": { "type": "string" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "paymentTypeId": { "description": "收款方式ID", "type": "integer" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "reason": { "type": "string" }, "refundDate": { "type": "string" }, "sourceId": { "description": "源单id", "type": "integer" }, "sourceType": { "description": "来源类型(1销售退款单)", "allOf": [ { "$ref": "#/definitions/constvar.RefundSourceType" } ] } } }, "request.SalesReturn": { "type": "object", "properties": { "clientId": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "products": { "description": "退货产品", "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "reason": { "description": "退货原因", "type": "string" }, "repository": { "type": "string" }, "returnDate": { "description": "退货日期", "type": "string" }, "salesReturnStatusId": { "description": "退货状态id", "type": "integer" }, "sourceId": { "description": "源单id", "type": "integer" }, "sourceType": { "description": "源单类型(1销售明细)", "allOf": [ { "$ref": "#/definitions/constvar.SalesReturnSourceType" } ] } } }, "request.SaveSystemSet": { "type": "object", "properties": { "sets": { "type": "array", "items": { "$ref": "#/definitions/model.SystemSet" } } } }, "request.SetAuthorityMenu": { "type": "object", "properties": { "authorityId": { "type": "integer" }, "menus": { "type": "array", "items": { "type": "integer" } } } }, "request.SetCity": { "type": "object", "properties": { "city_ids": { "description": "城市ID列表", "type": "array", "items": { "type": "integer" } }, "province_id": { "description": "省份ID", "type": "integer" } } }, "request.SetProvinces": { "type": "object", "properties": { "country_id": { "description": "国家ID", "type": "integer" }, "list": { "description": "省份ID列表", "type": "array", "items": { "type": "integer" } } } }, "request.SetRegions": { "type": "object", "properties": { "city_id": { "description": "城市ID", "type": "integer" }, "region_ids": { "description": "地区ID列表", "type": "array", "items": { "type": "integer" } } } }, "request.UpdateAccountId": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateAccountIds": { "type": "object", "required": [ "account_id" ], "properties": { "account_id": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateAccountId" } } } }, "request.UpdateBankAccount": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateCities": { "type": "object", "properties": { "cities": { "description": "城市列表", "type": "array", "items": { "$ref": "#/definitions/request.UpdateCity" } } } }, "request.UpdateCity": { "type": "object", "properties": { "id": { "description": "城市ID", "type": "integer" }, "name": { "description": "城市名称", "type": "string" } } }, "request.UpdateClient": { "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" }, "codeStandID": { "description": "编码id", "type": "string" }, "contact": { "$ref": "#/definitions/request.Contact" }, "contact_id": { "description": "联系人ID", "type": "integer" }, "country_id": { "type": "integer" }, "detail_address": { "description": "详细地址", "type": "string" }, "enterprise_nature_id": { "description": "企业性质", "type": "integer" }, "enterprise_scale_id": { "description": "企业规模", "type": "integer" }, "id": { "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" }, "sales_leads_id": { "description": "销售线索ID", "type": "integer" }, "service_member_id": { "description": "服务负责人ID", "type": "integer" } } }, "request.UpdateClientLevel": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateClientLevelList": { "type": "object", "required": [ "client_levels" ], "properties": { "client_levels": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateClientLevel" } } } }, "request.UpdateClientOrigin": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateClientOriginList": { "type": "object", "required": [ "client_origins" ], "properties": { "client_origins": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateClientOrigin" } } } }, "request.UpdateClientStatus": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateClientStatuses": { "type": "object", "properties": { "client_statuses": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateClientStatus" } } } }, "request.UpdateClientType": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateClientTypes": { "type": "object", "required": [ "client_types" ], "properties": { "client_types": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateClientType" } } } }, "request.UpdateCollectionProjection": { "type": "object", "properties": { "estimated_collection_amount": { "description": "预计收款金额", "type": "number" }, "estimated_collection_time": { "description": "预计收款时间", "type": "string" }, "id": { "type": "integer" } } }, "request.UpdateContact": { "type": "object", "properties": { "birthday": { "description": "生日", "type": "string", "example": "1970-01-01 08:00:00" }, "city_id": { "description": "城市ID", "type": "integer" }, "client_id": { "description": "所属公司ID", "type": "integer" }, "country_id": { "description": "国家ID", "type": "integer" }, "desc": { "description": "备注", "type": "string" }, "email": { "description": "邮箱", "type": "string" }, "id": { "type": "integer" }, "is_first": { "description": "是否首要联系人", "type": "boolean" }, "member_id": { "description": "所属成员ID", "type": "integer" }, "name": { "description": "联系人名称", "type": "string" }, "number": { "description": "联系人编号", "type": "string" }, "phone": { "description": "手机号", "type": "string" }, "position": { "description": "职位", "type": "string" }, "province_id": { "description": "省份ID", "type": "integer" }, "region_id": { "description": "区域ID", "type": "integer" }, "wechat": { "description": "微信号", "type": "string" } } }, "request.UpdateContract": { "type": "object", "properties": { "client_id": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "contractName": { "description": "合同名称", "type": "string" }, "file": { "type": "string" }, "id": { "type": "integer" }, "member_id": { "type": "integer" }, "number": { "type": "string" }, "quotation_id": { "type": "integer" }, "sendTime": { "description": "发货时间", "type": "string" }, "status_id": { "type": "integer" } } }, "request.UpdateCountry": { "type": "object", "properties": { "id": { "description": "国家ID", "type": "integer" }, "name": { "description": "国家名称", "type": "string" } } }, "request.UpdateCourierCompany": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateCurrency": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateCurrencys": { "type": "object", "required": [ "currency" ], "properties": { "currency": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateCurrency" } } } }, "request.UpdateCustomerServiceSheet": { "type": "object", "properties": { "handleStatus": { "type": "integer" }, "id": { "type": "integer" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "priority": { "type": "integer" }, "serviceMode": { "type": "integer" } } }, "request.UpdateDepartment": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateDepartmentList": { "type": "object", "required": [ "departments" ], "properties": { "departments": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateDepartment" } } } }, "request.UpdateEnterpriseNature": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateEnterpriseNatures": { "type": "object", "properties": { "enterprise_natures": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateEnterpriseNature" } } } }, "request.UpdateEnterpriseScale": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateEnterpriseScales": { "type": "object", "properties": { "enterprise_scales": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateEnterpriseScale" } } } }, "request.UpdateFaq": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateFaultType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateFollowRecord": { "type": "object", "required": [ "follow_record" ], "properties": { "follow_record": { "$ref": "#/definitions/request.FollowRecord" }, "id": { "type": "integer" } } }, "request.UpdateIndustries": { "type": "object", "required": [ "industries" ], "properties": { "industries": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateIndustry" } } } }, "request.UpdateIndustry": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateInvoice": { "type": "object", "required": [ "id" ], "properties": { "clientId": { "description": "客户id", "type": "integer" }, "codeStandID": { "type": "string" }, "courierCompanyId": { "description": "物流公司", "type": "integer" }, "courierNumber": { "description": "物流单号", "type": "string" }, "id": { "type": "integer" }, "invoiceDate": { "description": "开票日期", "type": "integer" }, "invoiceNumber": { "description": "发票号码", "type": "string" }, "invoiceStatusId": { "description": "发票状态id", "type": "integer" }, "invoiceTypeId": { "description": "发票类型id", "type": "integer" }, "number": { "description": "发票编号", "type": "string" }, "principalId": { "description": "销售负责人id", "type": "integer" }, "products": { "description": "发票对应产品,从相应源单里获取", "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "sourceId": { "description": "源单id", "type": "integer" }, "sourceType": { "description": "源单类型(1销售明细单2服务合同)", "type": "integer" }, "subject": { "description": "主题", "type": "string" }, "taxpayerIdNumber": { "description": "纳税识别号", "type": "string" } } }, "request.UpdateInvoiceStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateInvoiceType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateIsInvoice": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateIsInvoices": { "type": "object", "required": [ "is_invoice" ], "properties": { "is_invoice": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateIsInvoice" } } } }, "request.UpdateIsVisit": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateIsVisits": { "type": "object", "required": [ "is_visit" ], "properties": { "is_visit": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateIsVisit" } } } }, "request.UpdateMasterOrder": { "type": "object", "properties": { "client_id": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "end_time": { "type": "string" }, "id": { "type": "integer" }, "member_id": { "type": "integer" }, "money": { "type": "number" }, "number": { "type": "string" }, "start_time": { "type": "string" } } }, "request.UpdateOrderManage": { "type": "object", "properties": { "clientId": { "type": "integer" }, "contactId": { "type": "integer" }, "file": { "type": "string" }, "id": { "type": "integer" }, "name": { "type": "string" }, "number": { "type": "string" }, "orderType": { "type": "integer" }, "problemDescription": { "type": "string" }, "reportSourceId": { "type": "integer" }, "sourceSheet": { "type": "integer" } } }, "request.UpdateOrderType": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateOrderTypes": { "type": "object", "required": [ "order_type" ], "properties": { "order_type": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateOrderType" } } } }, "request.UpdatePaymentType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdatePlan": { "type": "object", "properties": { "id": { "type": "integer" }, "plan": { "$ref": "#/definitions/request.Plan" } } }, "request.UpdatePossibilities": { "type": "object", "required": [ "possibilities" ], "properties": { "possibilities": { "type": "array", "items": { "$ref": "#/definitions/request.UpdatePossibility" } } } }, "request.UpdatePossibility": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdatePriorityLevel": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateProvince": { "type": "object", "properties": { "id": { "description": "省份ID", "type": "integer" }, "name": { "description": "省份名称", "type": "string" } } }, "request.UpdateProvinces": { "type": "object", "properties": { "provinces": { "description": "省份列表", "type": "array", "items": { "$ref": "#/definitions/request.UpdateProvince" } } } }, "request.UpdateQuotation": { "type": "object", "properties": { "client_id": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "conditions": { "type": "string" }, "contact_id": { "type": "integer" }, "file": { "type": "string" }, "id": { "type": "integer" }, "member_id": { "type": "integer" }, "number": { "type": "string" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "quotationName": { "description": "报价单名称", "type": "string" }, "quotation_status_id": { "type": "integer" }, "sale_chance_id": { "type": "integer" }, "validity_date": { "type": "string" } } }, "request.UpdateQuotationStatus": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateQuotationStatuss": { "type": "object", "required": [ "quotation_status" ], "properties": { "quotation_status": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateQuotationStatus" } } } }, "request.UpdateReceipt": { "type": "object", "properties": { "amount": { "description": "收款金额", "type": "number" }, "bankAccount": { "$ref": "#/definitions/model.BankAccount" }, "bankAccountId": { "description": "账户id", "type": "integer" }, "client": { "description": "客户id", "allOf": [ { "$ref": "#/definitions/model.Client" } ] }, "clientId": { "description": "客户id", "type": "integer" }, "createTime": { "type": "string" }, "creatorName": { "type": "string" }, "fileId": { "description": "附件id", "type": "integer" }, "id": { "type": "integer" }, "moneyType": { "description": "币种", "type": "string" }, "number": { "type": "string" }, "paymentType": { "$ref": "#/definitions/model.PaymentType" }, "paymentTypeId": { "description": "收款方式ID", "type": "integer" }, "principal": { "description": "负责人id", "allOf": [ { "$ref": "#/definitions/model.User" } ] }, "principalId": { "description": "负责人id", "type": "integer" }, "receiptDate": { "description": "收款日期", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "sourceId": { "description": "源单id", "type": "integer" }, "sourceType": { "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)", "allOf": [ { "$ref": "#/definitions/constvar.ReceiptSourceType" } ] }, "updateTime": { "type": "string" } } }, "request.UpdateRefundMethod": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateRefundMethods": { "type": "object", "required": [ "refund_method" ], "properties": { "refund_method": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateRefundMethod" } } } }, "request.UpdateRefundType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateRegion": { "type": "object", "properties": { "id": { "description": "地区ID", "type": "integer" }, "name": { "description": "地区名称", "type": "string" } } }, "request.UpdateRegions": { "type": "object", "properties": { "regions": { "description": "地区列表", "type": "array", "items": { "$ref": "#/definitions/request.UpdateRegion" } } } }, "request.UpdateRegisteredCapital": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateRegisteredCapitals": { "type": "object", "properties": { "registered_capitals": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateRegisteredCapital" } } } }, "request.UpdateRegularCustomers": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateRegularCustomersList": { "type": "object", "required": [ "regularCustomers" ], "properties": { "regularCustomers": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateRegularCustomers" } } } }, "request.UpdateReportSource": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateReportSources": { "type": "object", "required": [ "report_source" ], "properties": { "report_source": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateReportSource" } } } }, "request.UpdateRepository": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateRepositorys": { "type": "object", "required": [ "repository" ], "properties": { "repository": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateRepository" } } } }, "request.UpdateSaleChance": { "type": "object", "required": [ "id" ], "properties": { "advantages": { "type": "string" }, "budget": { "type": "number" }, "capital_budget": { "type": "string" }, "city_id": { "type": "integer" }, "client_id": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "competitors": { "type": "string" }, "contact_id": { "type": "integer" }, "country_id": { "type": "integer" }, "currency": { "type": "integer" }, "detail_address": { "type": "string" }, "disadvantages": { "type": "string" }, "expected_time": { "type": "string" }, "id": { "type": "integer" }, "key_factors": { "type": "string" }, "key_maker": { "type": "string" }, "member_id": { "type": "integer" }, "name": { "type": "string" }, "number": { "type": "string" }, "opportunities": { "type": "string" }, "pain_points": { "type": "string" }, "possibilities": { "type": "integer" }, "process": { "type": "string" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "projected_amount": { "type": "number" }, "province_id": { "type": "integer" }, "region_id": { "type": "integer" }, "regular_customers_id": { "type": "integer" }, "remark": { "type": "string" }, "sale_stage_id": { "type": "integer" }, "sale_type_id": { "type": "integer" }, "sales_sources_id": { "type": "integer" }, "solutions": { "type": "string" }, "status_id": { "type": "integer" }, "threats": { "type": "string" }, "whether_established": { "type": "string" } } }, "request.UpdateSaleStage": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateSaleStages": { "type": "object", "required": [ "sale_stages" ], "properties": { "sale_stages": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateSaleStage" } } } }, "request.UpdateSaleType": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateSaleTypes": { "type": "object", "required": [ "sale_types" ], "properties": { "sale_types": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateSaleType" } } } }, "request.UpdateSalesDetails": { "type": "object", "properties": { "id": { "type": "integer" }, "salesDetails": { "$ref": "#/definitions/request.SalesDetails" } } }, "request.UpdateSalesDetailsStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "status": { "$ref": "#/definitions/constvar.SalesDetailsStatus" } } }, "request.UpdateSalesLeads": { "type": "object", "properties": { "city_id": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "contact_name": { "description": "联系人姓名", "type": "string" }, "contact_phone": { "description": "联系人电话", "type": "string" }, "contact_position": { "description": "联系人职位", "type": "string" }, "country_id": { "type": "integer" }, "desc": { "description": "备注", "type": "string" }, "detail_address": { "description": "详细地址", "type": "string" }, "id": { "type": "integer" }, "member_id": { "description": "销售负责人ID", "type": "integer" }, "name": { "description": "公司名称", "type": "string" }, "number": { "description": "销售线索编号", "type": "string" }, "province_id": { "type": "integer" }, "region_id": { "type": "integer" }, "sales_sources_id": { "description": "商机来源ID", "type": "integer" } } }, "request.UpdateSalesRefundRequest": { "type": "object", "properties": { "id": { "type": "integer" }, "salesRefund": { "$ref": "#/definitions/request.SalesRefund" } } }, "request.UpdateSalesReturnRequest": { "type": "object", "properties": { "id": { "type": "integer" }, "salesReturn": { "$ref": "#/definitions/request.SalesReturn" } } }, "request.UpdateSalesReturnStatus": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateSalesReturnStatuss": { "type": "object", "required": [ "sales_return_status" ], "properties": { "sales_return_status": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateSalesReturnStatus" } } } }, "request.UpdateSalesSources": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateSalesSourcesList": { "type": "object", "properties": { "sales_sourcess": { "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.UpdateServiceCollectionPlan": { "type": "object", "properties": { "amount": { "description": "金额", "type": "number" }, "amountReceivable": { "description": "应收金额", "type": "number" }, "amountReceived": { "description": "已收金额", "type": "number" }, "amountTotal": { "description": "总额", "type": "number" }, "collectionDate": { "description": "计划收款日期", "type": "string" }, "collectionType": { "description": "类型(1 计划收款日期 2 项目状态)", "type": "integer" }, "fileId": { "description": "附件id", "type": "integer" }, "id": { "type": "integer" }, "moneyType": { "description": "币种", "type": "string" }, "percent": { "description": "比例", "type": "number" }, "principal": { "description": "收款负责人ID", "allOf": [ { "$ref": "#/definitions/model.User" } ] }, "principalId": { "description": "收款负责人ID", "type": "integer" }, "remark": { "description": "备注", "type": "string" }, "sourceId": { "description": "源单id", "type": "integer" }, "sourceType": { "description": "源单类型(1销售明细2服务合同3销售发票)", "allOf": [ { "$ref": "#/definitions/constvar.CollectionSourceType" } ] }, "status": { "description": "状态(1未收2部分已收3已收)", "allOf": [ { "$ref": "#/definitions/constvar.CollectionStatus" } ] }, "term": { "description": "期次", "type": "integer" } } }, "request.UpdateServiceContract": { "type": "object", "required": [ "memberId" ], "properties": { "clientId": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "contactId": { "type": "integer" }, "endTime": { "type": "string" }, "id": { "type": "integer" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "products": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "quotationId": { "type": "integer" }, "remark": { "type": "string" }, "saleChanceId": { "type": "integer" }, "salesDetailsId": { "type": "integer" }, "serviceContractStatusId": { "type": "integer" }, "serviceContractTypeId": { "type": "integer" }, "serviceTimes": { "type": "integer" }, "signTime": { "type": "string" }, "startTime": { "type": "string" }, "statusId": { "type": "integer" }, "terms": { "type": "string" }, "typeId": { "type": "integer" } } }, "request.UpdateServiceContractStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateServiceContractType": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateServiceContractTypes": { "type": "object", "required": [ "service_contract_type" ], "properties": { "service_contract_type": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateServiceContractType" } } } }, "request.UpdateServiceFeeManage": { "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" }, "codeStandID": { "description": "编码id", "type": "string" }, "contact": { "$ref": "#/definitions/request.Contact" }, "contact_id": { "description": "联系人ID", "type": "integer" }, "country_id": { "type": "integer" }, "detail_address": { "description": "详细地址", "type": "string" }, "enterprise_nature_id": { "description": "企业性质", "type": "integer" }, "enterprise_scale_id": { "description": "企业规模", "type": "integer" }, "file": { "type": "string" }, "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" }, "sales_leads_id": { "description": "销售线索ID", "type": "integer" }, "service_member_id": { "description": "服务负责人ID", "type": "integer" } } }, "request.UpdateServiceFollowup": { "type": "object", "properties": { "clientId": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "contactId": { "type": "integer" }, "file": { "type": "string" }, "id": { "type": "integer" }, "isVisit": { "type": "integer" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "oldMemberId": { "type": "integer" }, "planId": { "type": "integer" }, "remark": { "type": "string" }, "satisfaction": { "type": "integer" }, "serviceOrderId": { "type": "integer" }, "solveRate": { "type": "integer" }, "timelyRate": { "type": "integer" } } }, "request.UpdateServiceOrder": { "type": "object", "properties": { "address": { "description": "上门地址", "type": "string" }, "appointmentTime": { "description": "预约上门时间", "type": "string" }, "carFare": { "description": "交通费", "type": "number" }, "chargeAmount": { "description": "收费金额", "type": "number" }, "clientId": { "description": "客户id", "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "contactId": { "description": "联系人id", "type": "integer" }, "expectTime": { "description": "希望处理时间", "type": "string" }, "faqId": { "description": "常见问题id", "type": "integer" }, "faultTypeId": { "description": "故障类别id", "type": "integer" }, "id": { "type": "integer" }, "priorityLevelId": { "description": "优先级别id", "type": "integer" }, "problemDesc": { "description": "问题描述", "type": "string" }, "productName": { "description": "产品名称", "type": "string" }, "productTypeName": { "description": "产品分类名称", "type": "string" }, "realTime": { "description": "实际处理时间", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "saleChanceId": { "description": "销售机会id", "type": "integer" }, "salesDetailsId": { "description": "销售订单id", "type": "integer" }, "serviceContractId": { "description": "合同id", "type": "integer" }, "serviceManId": { "description": "服务人员", "type": "integer" }, "serviceNumber": { "description": "服务单编号", "type": "string" }, "serviceOrderStatusId": { "description": "处理状态", "type": "integer" }, "serviceTypeId": { "description": "服务方式id", "type": "integer" }, "severityId": { "description": "严重程度id", "type": "integer" }, "solution": { "description": "解决方法", "type": "string" }, "solutionRemark": { "description": "内部备注", "type": "string" }, "subject": { "description": "主题", "type": "string" }, "timeSpentId": { "description": "花费时间", "type": "integer" } } }, "request.UpdateServiceOrderStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateServiceType": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateSeverity": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "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" } } } }, "request.UpdateStatus": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "request.UpdateStatusList": { "type": "object", "required": [ "list" ], "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/request.UpdateStatus" } } } }, "request.UpdateSubOrder": { "type": "object", "properties": { "clientId": { "type": "integer" }, "codeStandID": { "description": "编码id", "type": "string" }, "id": { "type": "integer" }, "masterOrderId": { "type": "integer" }, "memberId": { "type": "integer" }, "number": { "type": "string" }, "product": { "type": "array", "items": { "$ref": "#/definitions/model.Product" } } } }, "request.UpdateTimeSpent": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "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" } } } }, "request.UpdateVetting": { "type": "object", "required": [ "id", "status" ], "properties": { "id": { "type": "integer" }, "status": { "type": "integer" } } }, "request.UpdateWechatOrderStatus": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" } } }, "response.AccountIdResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.AccountId" } } } }, "response.CityResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.City" } } } }, "response.ClientLevelResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.ClientLevel" } } } }, "response.ClientOriginResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.ClientOrigin" } } } }, "response.ClientResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.Client" } } } }, "response.ClientStatusResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.ClientStatus" } } } }, "response.ClientTypeResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.ClientType" } } } }, "response.ContactInformationResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.ContactInformation" } } } }, "response.ContactResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.ContactDetail" } } } }, "response.ContractResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.Contract" } } } }, "response.CountryResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.Country" } } } }, "response.CurrencyResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.Currency" } } } }, "response.DataResponse": { "type": "object", "properties": { "accountId": { "description": "账户", "type": "array", "items": { "$ref": "#/definitions/model.AccountId" } }, "city": { "description": "城市数据", "type": "array", "items": { "$ref": "#/definitions/model.City" } }, "client_level": { "description": "客户等级", "type": "array", "items": { "$ref": "#/definitions/model.ClientLevel" } }, "client_origin": { "description": "客户来源", "type": "array", "items": { "$ref": "#/definitions/model.ClientOrigin" } }, "client_status": { "description": "客户状态", "type": "array", "items": { "$ref": "#/definitions/model.ClientStatus" } }, "client_type": { "description": "客户类型", "type": "array", "items": { "$ref": "#/definitions/model.ClientType" } }, "country": { "description": "国家数据", "type": "array", "items": { "$ref": "#/definitions/model.Country" } }, "currency": { "description": "币种", "type": "array", "items": { "$ref": "#/definitions/model.Currency" } }, "department": { "description": "部门", "type": "array", "items": { "$ref": "#/definitions/model.Department" } }, "enterprise_nature": { "description": "企业性质", "type": "array", "items": { "$ref": "#/definitions/model.EnterpriseNature" } }, "enterprise_scale": { "description": "企业规模", "type": "array", "items": { "$ref": "#/definitions/model.EnterpriseScale" } }, "industry": { "description": "行业", "type": "array", "items": { "$ref": "#/definitions/model.Industry" } }, "isInvoice": { "description": "是否开票", "type": "array", "items": { "$ref": "#/definitions/model.IsInvoice" } }, "isVisit": { "description": "服务人员是否来过", "type": "array", "items": { "$ref": "#/definitions/model.IsVisit" } }, "member": { "description": "Member", "type": "array", "items": { "$ref": "#/definitions/model.User" } }, "orderType": { "description": "工单类型", "type": "array", "items": { "$ref": "#/definitions/model.OrderType" } }, "possibility": { "description": "可能性", "type": "array", "items": { "$ref": "#/definitions/model.Possibility" } }, "province": { "description": "省份数据", "type": "array", "items": { "$ref": "#/definitions/model.Province" } }, "quotationStatus": { "description": "报价单状态", "type": "array", "items": { "$ref": "#/definitions/model.QuotationStatus" } }, "refundMethod": { "description": "退款方式", "type": "array", "items": { "$ref": "#/definitions/model.RefundMethod" } }, "region": { "description": "区域数据", "type": "array", "items": { "$ref": "#/definitions/model.Region" } }, "registered_capital": { "description": "注册资金", "type": "array", "items": { "$ref": "#/definitions/model.RegisteredCapital" } }, "regular_customers": { "description": "老客户营销", "type": "array", "items": { "$ref": "#/definitions/model.RegularCustomers" } }, "reportSource": { "description": "报表来源", "type": "array", "items": { "$ref": "#/definitions/model.ReportSource" } }, "repository": { "description": "退货仓库", "type": "array", "items": { "$ref": "#/definitions/model.Repository" } }, "sale_stage": { "description": "销售阶段", "type": "array", "items": { "$ref": "#/definitions/model.SaleStage" } }, "sale_type": { "description": "销售类型", "type": "array", "items": { "$ref": "#/definitions/model.SaleType" } }, "salesReturnStatus": { "description": "退货单状态", "type": "array", "items": { "$ref": "#/definitions/model.SalesReturnStatus" } }, "sales_source": { "description": "商机来源", "type": "array", "items": { "$ref": "#/definitions/model.SalesSources" } }, "satisfaction": { "description": "满意度", "type": "array", "items": { "$ref": "#/definitions/model.Satisfaction" } }, "serviceContractStatus": { "description": "服务合同状态", "type": "array", "items": { "$ref": "#/definitions/model.ServiceContractStatus" } }, "serviceContractType": { "description": "服务合同类型", "type": "array", "items": { "$ref": "#/definitions/model.ServiceContractType" } }, "solve_rate": { "description": "解决率", "type": "array", "items": { "$ref": "#/definitions/model.SolveRate" } }, "status": { "description": "状态", "type": "array", "items": { "$ref": "#/definitions/model.Status" } }, "timely_rate": { "description": "及时率", "type": "array", "items": { "$ref": "#/definitions/model.TimelyRate" } } } }, "response.DepartmentResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.Department" } } } }, "response.EnterpriseNatureResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.EnterpriseNature" } } } }, "response.EnterpriseScaleResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.EnterpriseScale" } } } }, "response.FollowRecordResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.FollowRecord" } } } }, "response.IndustryResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.Industry" } } } }, "response.Info": { "type": "object", "properties": { "makeInfo": { "type": "array", "items": { "$ref": "#/definitions/response.WorkOrderInfo" } }, "outsourcingInfo": { "type": "array", "items": { "$ref": "#/definitions/response.OutsourcingInfo" } }, "productInfo": { "type": "array", "items": { "$ref": "#/definitions/response.SalesDetailsProductInfo" } }, "purchaseInfo": { "type": "array", "items": { "$ref": "#/definitions/response.Purchase" } } } }, "response.IsInvoiceResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.IsInvoice" } } } }, "response.IsVisitResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.IsVisit" } } } }, "response.ListResponse": { "type": "object", "properties": { "code": { "type": "integer" }, "count": { "type": "integer" }, "data": {}, "msg": { "type": "string" } } }, "response.LoginResponse": { "type": "object", "properties": { "expiresAt": { "type": "integer" }, "token": { "type": "string" }, "user": { "$ref": "#/definitions/model.User" } } }, "response.MasterOrderResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.MasterOrder" } } } }, "response.MenuTreeResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.Menu" } } } }, "response.OrderManageResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.OrderManage" } } } }, "response.OrderTypeResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.OrderType" } } } }, "response.OutsourcingInfo": { "type": "object", "properties": { "amount": { "description": "订单数量", "type": "integer" }, "endTime": { "type": "string" }, "finishAmount": { "description": "完成数量", "type": "integer" }, "outsourcingId": { "description": "委外订单id", "type": "string" }, "outsourcingStatus": { "type": "string" }, "productId": { "type": "string" }, "productName": { "type": "string" }, "specs": { "description": "物料规格", "type": "string" }, "startTime": { "type": "string" }, "supplierName": { "type": "string" }, "unit": { "description": "单位", "type": "string" } } }, "response.PlanResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.Plan" } } } }, "response.PossibilityResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.Possibility" } } } }, "response.ProvinceResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.Province" } } } }, "response.Purchase": { "type": "object", "properties": { "amount": { "description": "订单数量", "type": "integer" }, "finishAmount": { "description": "完成数量", "type": "integer" }, "productId": { "type": "string" }, "productName": { "type": "string" }, "purchaseName": { "type": "string" }, "purchaseNumber": { "type": "string" }, "specs": { "description": "物料规格", "type": "string" }, "status": { "type": "integer" }, "supplierName": { "type": "string" }, "unit": { "description": "单位", "type": "string" } } }, "response.QuotationResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.Quotation" } } } }, "response.QuotationStatusResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.QuotationStatus" } } } }, "response.RefundMethodResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.RefundMethod" } } } }, "response.RegisteredCapitalResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.RegisteredCapital" } } } }, "response.RegularCustomersResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.RegularCustomers" } } } }, "response.ReportSourceResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.ReportSource" } } } }, "response.RepositoryResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.Repository" } } } }, "response.Response": { "type": "object", "properties": { "code": { "type": "integer" }, "data": {}, "msg": { "type": "string" } } }, "response.SaleChanceResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.SaleChance" } } } }, "response.SaleStageResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.SaleStage" } } } }, "response.SaleTypeResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.SaleType" } } } }, "response.SalesDetailsProductInfo": { "type": "object", "properties": { "amount": { "description": "订单数量", "type": "number" }, "cost": { "description": "产品成本", "type": "string" }, "deliveryAmount": { "description": "发货数量", "type": "integer" }, "finishAmount": { "description": "完成数量", "type": "integer" }, "makeAmount": { "description": "制造数量", "type": "integer" }, "makeFinishAmount": { "description": "制造完成数量", "type": "integer" }, "margin": { "description": "毛利率", "type": "string" }, "outsourcingAmount": { "description": "委外数量", "type": "integer" }, "outsourcingFinishAmount": { "description": "委外完成数量", "type": "integer" }, "price": { "description": "产品价格", "type": "number" }, "productId": { "type": "string" }, "productName": { "type": "string" }, "profit": { "description": "毛利", "type": "string" }, "purchaseAmount": { "description": "采购数量", "type": "integer" }, "purchaseFinishAmount": { "description": "采购完成数量", "type": "integer" }, "specs": { "description": "物料规格", "type": "string" }, "total": { "description": "产品总价", "type": "number" }, "unit": { "description": "单位", "type": "string" } } }, "response.SalesDetailsResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.SalesDetails" } } } }, "response.SalesLeadsResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.SalesLeads" } } } }, "response.SalesRefundResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.SalesRefund" } } } }, "response.SalesReturnResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.SalesReturn" } } } }, "response.SalesReturnStatusResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.SalesReturnStatus" } } } }, "response.SalesSourceResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.SalesSources" } } } }, "response.SatisfactionResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.Satisfaction" } } } }, "response.ServiceContractTypeResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.ServiceContractType" } } } }, "response.ServiceContractsResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.ServiceContract" } } } }, "response.ServiceFeeManageResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.ServiceFeeManage" } } } }, "response.ServiceFollowupResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.ServiceFollowup" } } } }, "response.SolveRateResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.SolveRate" } } } }, "response.SubOrderResponse": { "type": "object", "properties": { "count": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.SubOrder" } } } }, "response.TimelyRateResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/model.TimelyRate" } } } }, "response.WorkOrderInfo": { "type": "object", "properties": { "amount": { "description": "订单数量", "type": "integer" }, "endTime": { "type": "string" }, "finishAmount": { "description": "完成数量", "type": "integer" }, "orderId": { "type": "string" }, "orderStatus": { "type": "string" }, "productId": { "type": "string" }, "productName": { "type": "string" }, "specs": { "description": "物料规格", "type": "string" }, "startTime": { "type": "string" }, "unit": { "description": "单位", "type": "string" }, "workOrderId": { "type": "string" }, "workOrderStatus": { "type": "string" } } }, "v1.GetWarehouseProductInfoReq": { "type": "object", "properties": { "groupByWarehouse": { "type": "boolean" }, "saleDetailID": { "type": "integer" }, "saleDetailNumber": { "type": "string" } } } } }` // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "", Host: "", BasePath: "", Schemes: []string{}, Title: "", Description: "", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, LeftDelim: "{{", RightDelim: "}}", } func init() { swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) }