| | |
| | | } |
| | | } |
| | | }, |
| | | "/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": [ |
| | |
| | | "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" |
| | | } |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/client/delete/{id}": { |
| | | "/api/client/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | |
| | | "summary": "删除客户", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "客户ID", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.DeleteClient" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/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/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "附件管理" |
| | | ], |
| | | "summary": "获取附件列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "type": "string", |
| | | "x-enum-varnames": [ |
| | | "FileKeywordCustomerName" |
| | | ], |
| | | "name": "keywordType", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "type": "string", |
| | | "x-enum-varnames": [ |
| | | "FileQueryClassExpireLessThen60Days" |
| | | ], |
| | | "name": "queryClass", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.ListResponse" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.File" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/file/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "附件管理" |
| | | ], |
| | | "summary": "更新附件", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateFile" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/followRecord/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "tags": [ |
| | | "FollowRecord" |
| | | ], |
| | | "summary": "跟进记录列表", |
| | | "summary": "回访记录列表", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/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": [ |
| | |
| | | "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" |
| | | } |
| | | } |
| | | ], |
| | |
| | | "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": "string", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "type": "string", |
| | | "x-enum-varnames": [ |
| | | "ReceiptKeywordCustomerName" |
| | | ], |
| | | "name": "keywordType", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "type": "string", |
| | | "x-enum-varnames": [ |
| | | "ReceiptQueryClassExpireLessThen60Days" |
| | | ], |
| | | "name": "queryClass", |
| | | "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" |
| | | } |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/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": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "收款计划管理" |
| | | ], |
| | | "summary": "获取收款计划列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "服务合同id", |
| | | "name": "serviceContractId", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "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": [ |
| | |
| | | } |
| | | }, |
| | | "/api/serviceContract/list": { |
| | | "get": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ServiceContract" |
| | | ], |
| | | "summary": "服务合同列表", |
| | | "summary": "生成计划列表", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.GetServiceContractList" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/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/{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": { |
| | | "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.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/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": [ |
| | |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateSubOrder" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/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" |
| | | } |
| | | } |
| | | ], |
| | |
| | | } |
| | | }, |
| | | "definitions": { |
| | | "constvar.BankAccountKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "BankAccountKeywordCustomerName" |
| | | ] |
| | | }, |
| | | "constvar.BankAccountQueryClass": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "BankAccountQueryClassExpireLessThen60Days" |
| | | ] |
| | | }, |
| | | "constvar.CollectionStatus": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2 |
| | | ], |
| | | "x-enum-comments": { |
| | | "CollectionStatusCollected": "已收款", |
| | | "CollectionStatusUnCollected": "待收款" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "CollectionStatusUnCollected", |
| | | "CollectionStatusCollected" |
| | | ] |
| | | }, |
| | | "constvar.FaqKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "FaqKeywordCustomerName" |
| | | ] |
| | | }, |
| | | "constvar.FaqQueryClass": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "FaqQueryClassExpireLessThen60Days" |
| | | ] |
| | | }, |
| | | "constvar.FileKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "FileKeywordCustomerName" |
| | | ] |
| | | }, |
| | | "constvar.FileQueryClass": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "FileQueryClassExpireLessThen60Days" |
| | | ] |
| | | }, |
| | | "constvar.PaymentTypeKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "PaymentTypeKeywordCustomerName" |
| | | ] |
| | | }, |
| | | "constvar.PaymentTypeQueryClass": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "PaymentTypeQueryClassExpireLessThen60Days" |
| | | ] |
| | | }, |
| | | "constvar.ReceiptKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "ReceiptKeywordCustomerName" |
| | | ] |
| | | }, |
| | | "constvar.ReceiptQueryClass": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "ReceiptQueryClassExpireLessThen60Days" |
| | | ] |
| | | }, |
| | | "constvar.SalesStatus": { |
| | | "type": "integer", |
| | | "enum": [ |
| | |
| | | "SalesStatusFail", |
| | | "SalesStatusLevelUptoClient", |
| | | "SalesStatusLevelUptoClientAndSalesChance" |
| | | ] |
| | | }, |
| | | "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.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.UserType": { |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/model.Menu" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "model.BankAccount": { |
| | | "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.File": { |
| | | "type": "object", |
| | | "properties": { |
| | | "bucket": { |
| | | "description": "对象存储bucket", |
| | | "type": "string" |
| | | }, |
| | | "content": { |
| | | "description": "文件内容", |
| | | "type": "string" |
| | | }, |
| | | "createTime": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "downloadCount": { |
| | | "description": "下次次数", |
| | | "type": "integer" |
| | | }, |
| | | "filePath": { |
| | | "description": "文件路径", |
| | | "type": "string" |
| | | }, |
| | | "fileType": { |
| | | "description": "文件类型", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "key": { |
| | | "description": "对象存储key", |
| | | "type": "string" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | }, |
| | | "previewCount": { |
| | | "description": "预览次数", |
| | | "type": "integer" |
| | | }, |
| | | "size": { |
| | | "description": "文件大小", |
| | | "type": "integer" |
| | | }, |
| | | "sourceId": { |
| | | "description": "来源id", |
| | | "type": "integer" |
| | | }, |
| | | "sourceType": { |
| | | "description": "附件来源", |
| | | "type": "string" |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.FollowRecord": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "model.PaymentType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.Plan": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | }, |
| | | "model.Possibility": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.PriorityLevel": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.Receipt": { |
| | | "type": "object", |
| | | "properties": { |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "fileId": { |
| | | "description": "附件id", |
| | | "type": "integer" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "moneyType": { |
| | | "description": "币种", |
| | | "type": "string" |
| | | }, |
| | | "paymentTypeId": { |
| | | "description": "收款方式ID", |
| | | "type": "integer" |
| | | }, |
| | | "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出库单)", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "model.ServiceCollectionPlan": { |
| | | "type": "object", |
| | | "properties": { |
| | | "amount": { |
| | | "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" |
| | | }, |
| | | "principalId": { |
| | | "description": "收款负责人ID", |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "sourceId": { |
| | | "description": "源单id", |
| | | "type": "integer" |
| | | }, |
| | | "sourceType": { |
| | | "description": "源单类型(1销售明细2服务合同3销售发票)", |
| | | "type": "integer" |
| | | }, |
| | | "status": { |
| | | "description": "状态(1未收2已收)", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.CollectionStatus" |
| | | } |
| | | ] |
| | | }, |
| | | "term": { |
| | | "description": "期次", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "model.ServiceContract": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "serviceId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceOrder": { |
| | | "$ref": "#/definitions/model.ServiceOrder" |
| | | }, |
| | | "solveRateId": { |
| | | "type": "integer" |
| | | }, |
| | | "timelyRateId": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "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" |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/model.Contact" |
| | | }, |
| | | "contactId": { |
| | | "description": "联系人id", |
| | | "type": "integer" |
| | | }, |
| | | "contract": { |
| | | "$ref": "#/definitions/model.Contract" |
| | | }, |
| | | "contractId": { |
| | | "description": "合同id", |
| | | "type": "integer" |
| | | }, |
| | | "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" |
| | | }, |
| | | "orderId": { |
| | | "description": "销售订单id", |
| | | "type": "integer" |
| | | }, |
| | | "orderManage": { |
| | | "$ref": "#/definitions/model.OrderManage" |
| | | }, |
| | | "priorityLevel": { |
| | | "$ref": "#/definitions/model.PriorityLevel" |
| | | }, |
| | | "priorityLevelId": { |
| | | "description": "优先级别id", |
| | | "type": "integer" |
| | | }, |
| | | "problemDesc": { |
| | | "description": "问题描述", |
| | | "type": "string" |
| | | }, |
| | | "product": { |
| | | "$ref": "#/definitions/model.Product" |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "integer" |
| | | }, |
| | | "realTime": { |
| | | "description": "实际处理时间", |
| | | "type": "string" |
| | | }, |
| | | "remark": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "saleChance": { |
| | | "$ref": "#/definitions/model.SaleChance" |
| | | }, |
| | | "saleChanceId": { |
| | | "description": "销售机会id", |
| | | "type": "integer" |
| | | }, |
| | | "serviceManId": { |
| | | "description": "服务人员", |
| | | "type": "integer" |
| | | }, |
| | | "serviceNumber": { |
| | | "description": "服务单编号", |
| | | "type": "string" |
| | | }, |
| | | "serviceType": { |
| | | "$ref": "#/definitions/model.ServiceType" |
| | | }, |
| | | "serviceTypeId": { |
| | | "description": "服务方式id", |
| | | "type": "integer" |
| | | }, |
| | | "severity": { |
| | | "$ref": "#/definitions/model.Severity" |
| | | }, |
| | | "solution": { |
| | | "description": "解决方法", |
| | | "type": "string" |
| | | }, |
| | | "solutionRemark": { |
| | | "description": "内部备注", |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "description": "处理状态", |
| | | "type": "integer" |
| | | }, |
| | | "subject": { |
| | | "description": "主题", |
| | | "type": "string" |
| | | }, |
| | | "timeSpent": { |
| | | "$ref": "#/definitions/model.TimeSpent" |
| | | }, |
| | | "timeSpentId": { |
| | | "description": "花费时间", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "model.ServiceType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.Severity": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "model.TimeSpent": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/request.CasbinInfo" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.AddBankAccount": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "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": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.AddPaymentType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddPlan": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddPriorityLevel": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddReceipt": { |
| | | "type": "object", |
| | | "properties": { |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "fileId": { |
| | | "description": "附件id", |
| | | "type": "integer" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "moneyType": { |
| | | "description": "币种", |
| | | "type": "string" |
| | | }, |
| | | "paymentTypeId": { |
| | | "description": "收款方式ID", |
| | | "type": "integer" |
| | | }, |
| | | "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出库单)", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.AddServiceCollectionPlan": { |
| | | "type": "object", |
| | | "required": [ |
| | | "list" |
| | | ], |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ServiceCollectionPlan" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.AddServiceContract": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "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" |
| | | }, |
| | | "contactId": { |
| | | "description": "联系人id", |
| | | "type": "integer" |
| | | }, |
| | | "contractId": { |
| | | "description": "合同id", |
| | | "type": "integer" |
| | | }, |
| | | "expectTime": { |
| | | "description": "希望处理时间", |
| | | "type": "string" |
| | | }, |
| | | "faqId": { |
| | | "description": "常见问题id", |
| | | "type": "integer" |
| | | }, |
| | | "faultTypeId": { |
| | | "description": "故障类别id", |
| | | "type": "integer" |
| | | }, |
| | | "orderId": { |
| | | "description": "销售订单id", |
| | | "type": "integer" |
| | | }, |
| | | "priorityLevelId": { |
| | | "description": "优先级别id", |
| | | "type": "integer" |
| | | }, |
| | | "problemDesc": { |
| | | "description": "问题描述", |
| | | "type": "string" |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "integer" |
| | | }, |
| | | "realTime": { |
| | | "description": "实际处理时间", |
| | | "type": "string" |
| | | }, |
| | | "remark": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "saleChanceId": { |
| | | "description": "销售机会id", |
| | | "type": "integer" |
| | | }, |
| | | "serviceManId": { |
| | | "description": "服务人员", |
| | | "type": "integer" |
| | | }, |
| | | "serviceNumber": { |
| | | "description": "服务单编号", |
| | | "type": "string" |
| | | }, |
| | | "serviceTypeId": { |
| | | "description": "服务方式id", |
| | | "type": "integer" |
| | | }, |
| | | "severity": { |
| | | "description": "严重程度id", |
| | | "type": "integer" |
| | | }, |
| | | "solution": { |
| | | "description": "解决方法", |
| | | "type": "string" |
| | | }, |
| | | "solutionRemark": { |
| | | "description": "内部备注", |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "description": "处理状态", |
| | | "type": "integer" |
| | | }, |
| | | "subject": { |
| | | "description": "主题", |
| | | "type": "string" |
| | | }, |
| | | "timeSpentId": { |
| | | "description": "花费时间", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "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": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.AddTimeSpent": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddTimelyRate": { |
| | | "type": "object", |
| | | "required": [ |
| | |
| | | }, |
| | | "vettingType": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.Assign": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "member_id": { |
| | | "type": "integer" |
| | | }, |
| | | "type": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteClient": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteCountry": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "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.GetServiceFeeManageList": { |
| | | "request.GetServiceContractList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "keywordType": { |
| | | "$ref": "#/definitions/constvar.ServiceContractKeywordType" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "queryClass": { |
| | | "$ref": "#/definitions/constvar.ServiceContractQueryClass" |
| | | } |
| | | } |
| | | }, |
| | | "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" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "keywordType": { |
| | | "$ref": "#/definitions/constvar.ServiceFollowupKeywordType" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateAccountId" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateBankAccount": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateFaq": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateFaultType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateFile": { |
| | | "type": "object", |
| | | "properties": { |
| | | "bucket": { |
| | | "description": "对象存储bucket", |
| | | "type": "string" |
| | | }, |
| | | "content": { |
| | | "description": "文件内容", |
| | | "type": "string" |
| | | }, |
| | | "createTime": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "downloadCount": { |
| | | "description": "下次次数", |
| | | "type": "integer" |
| | | }, |
| | | "filePath": { |
| | | "description": "文件路径", |
| | | "type": "string" |
| | | }, |
| | | "fileType": { |
| | | "description": "文件类型", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "key": { |
| | | "description": "对象存储key", |
| | | "type": "string" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | }, |
| | | "previewCount": { |
| | | "description": "预览次数", |
| | | "type": "integer" |
| | | }, |
| | | "size": { |
| | | "description": "文件大小", |
| | | "type": "integer" |
| | | }, |
| | | "sourceId": { |
| | | "description": "来源id", |
| | | "type": "integer" |
| | | }, |
| | | "sourceType": { |
| | | "description": "附件来源", |
| | | "type": "string" |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateFollowRecord": { |
| | | "type": "object", |
| | | "required": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdatePaymentType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdatePlan": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdatePriorityLevel": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateQuotationStatus" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateReceipt": { |
| | | "type": "object", |
| | | "properties": { |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "fileId": { |
| | | "description": "附件id", |
| | | "type": "integer" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "moneyType": { |
| | | "description": "币种", |
| | | "type": "string" |
| | | }, |
| | | "paymentTypeId": { |
| | | "description": "收款方式ID", |
| | | "type": "integer" |
| | | }, |
| | | "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出库单)", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateServiceCollectionPlan": { |
| | | "type": "object", |
| | | "properties": { |
| | | "amount": { |
| | | "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" |
| | | }, |
| | | "principalId": { |
| | | "description": "收款负责人ID", |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "sourceId": { |
| | | "description": "源单id", |
| | | "type": "integer" |
| | | }, |
| | | "sourceType": { |
| | | "description": "源单类型(1销售明细2服务合同3销售发票)", |
| | | "type": "integer" |
| | | }, |
| | | "status": { |
| | | "description": "状态(1未收2已收)", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.CollectionStatus" |
| | | } |
| | | ] |
| | | }, |
| | | "term": { |
| | | "description": "期次", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateServiceContract": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "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" |
| | | }, |
| | | "contactId": { |
| | | "description": "联系人id", |
| | | "type": "integer" |
| | | }, |
| | | "contractId": { |
| | | "description": "合同id", |
| | | "type": "integer" |
| | | }, |
| | | "expectTime": { |
| | | "description": "希望处理时间", |
| | | "type": "string" |
| | | }, |
| | | "faqId": { |
| | | "description": "常见问题id", |
| | | "type": "integer" |
| | | }, |
| | | "faultTypeId": { |
| | | "description": "故障类别id", |
| | | "type": "integer" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "orderId": { |
| | | "description": "销售订单id", |
| | | "type": "integer" |
| | | }, |
| | | "priorityLevelId": { |
| | | "description": "优先级别id", |
| | | "type": "integer" |
| | | }, |
| | | "problemDesc": { |
| | | "description": "问题描述", |
| | | "type": "string" |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "integer" |
| | | }, |
| | | "realTime": { |
| | | "description": "实际处理时间", |
| | | "type": "string" |
| | | }, |
| | | "remark": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "saleChanceId": { |
| | | "description": "销售机会id", |
| | | "type": "integer" |
| | | }, |
| | | "serviceManId": { |
| | | "description": "服务人员", |
| | | "type": "integer" |
| | | }, |
| | | "serviceNumber": { |
| | | "description": "服务单编号", |
| | | "type": "string" |
| | | }, |
| | | "serviceTypeId": { |
| | | "description": "服务方式id", |
| | | "type": "integer" |
| | | }, |
| | | "severity": { |
| | | "description": "严重程度id", |
| | | "type": "integer" |
| | | }, |
| | | "solution": { |
| | | "description": "解决方法", |
| | | "type": "string" |
| | | }, |
| | | "solutionRemark": { |
| | | "description": "内部备注", |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "description": "处理状态", |
| | | "type": "integer" |
| | | }, |
| | | "subject": { |
| | | "description": "主题", |
| | | "type": "string" |
| | | }, |
| | | "timeSpentId": { |
| | | "description": "花费时间", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "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": [ |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateTimeSpent": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.ListResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "code": { |
| | | "type": "integer" |
| | | }, |
| | | "count": { |
| | | "type": "integer" |
| | | }, |
| | | "data": {}, |
| | | "msg": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "response.LoginResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "response.ServiceContractsResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "count": { |
| | | "type": "integer" |
| | | }, |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |