| | |
| | | } |
| | | } |
| | | }, |
| | | "/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/base/captcha": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/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": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/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.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" |
| | | } |
| | | } |
| | | ], |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "服务合同收款计划管理" |
| | | "收款计划管理" |
| | | ], |
| | | "summary": "添加服务合同收款计划", |
| | | "summary": "添加收款计划", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "服务合同收款计划管理" |
| | | "收款计划管理" |
| | | ], |
| | | "summary": "删除服务合同收款计划", |
| | | "summary": "删除收款计划", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "服务合同收款计划管理" |
| | | "收款计划管理" |
| | | ], |
| | | "summary": "获取服务合同收款计划列表", |
| | | "summary": "获取收款计划列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "服务合同收款计划管理" |
| | | "收款计划管理" |
| | | ], |
| | | "summary": "更新服务合同收款计划", |
| | | "summary": "更新收款计划", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | |
| | | } |
| | | }, |
| | | "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": [ |
| | | "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": { |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/model.Menu" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "model.BankAccount": { |
| | | "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": { |
| | |
| | | }, |
| | | "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" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "description": "比例", |
| | | "type": "number" |
| | | }, |
| | | "principal": { |
| | | "principalId": { |
| | | "description": "收款负责人ID", |
| | | "type": "integer" |
| | | }, |
| | |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "serviceContractId": { |
| | | "description": "服务合同id", |
| | | "sourceId": { |
| | | "description": "源单id", |
| | | "type": "integer" |
| | | }, |
| | | "sourceType": { |
| | | "description": "源单类型(1销售明细2服务合同3销售发票)", |
| | | "type": "integer" |
| | | }, |
| | | "status": { |
| | | "description": "状态(1未收2已收)", |
| | | "type": "integer" |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.CollectionStatus" |
| | | } |
| | | ] |
| | | }, |
| | | "term": { |
| | | "description": "期次", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.AddBankAccount": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddCity": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.AddPaymentType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddPlan": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "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", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateBankAccount": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateCities": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "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": { |
| | |
| | | "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" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "description": "比例", |
| | | "type": "number" |
| | | }, |
| | | "principal": { |
| | | "principalId": { |
| | | "description": "收款负责人ID", |
| | | "type": "integer" |
| | | }, |
| | |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "serviceContractId": { |
| | | "description": "服务合同id", |
| | | "sourceId": { |
| | | "description": "源单id", |
| | | "type": "integer" |
| | | }, |
| | | "sourceType": { |
| | | "description": "源单类型(1销售明细2服务合同3销售发票)", |
| | | "type": "integer" |
| | | }, |
| | | "status": { |
| | | "description": "状态(1未收2已收)", |
| | | "type": "integer" |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.CollectionStatus" |
| | | } |
| | | ] |
| | | }, |
| | | "term": { |
| | | "description": "期次", |