| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/base/captcha": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Base" |
| | | ], |
| | | "summary": "获取验证码", |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.LoginResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/base/login": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Base" |
| | | ], |
| | | "summary": "用户登录", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.Login" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.LoginResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/city/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/code/getAutoCode": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "编码" |
| | | ], |
| | | "summary": "获取自动编码", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/response.ListResponse" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/code/getCodeList": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "编码" |
| | | ], |
| | | "summary": "获取编码列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "codeStandID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "name", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "type", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/response.ListResponse" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | }, |
| | | "/api/invoice/list": { |
| | | "get": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | |
| | | "summary": "获取销售发票列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "type": "string", |
| | | "x-enum-varnames": [ |
| | | "InvoiceKeywordCustomerName" |
| | | ], |
| | | "name": "keywordType", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "type": "string", |
| | | "x-enum-varnames": [ |
| | | "InvoiceQueryClassExpireLessThen60Days" |
| | | ], |
| | | "name": "queryClass", |
| | | "in": "query" |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.GetInvoiceList" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | "summary": "获取收款单列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "type": "string", |
| | | "x-enum-varnames": [ |
| | | "ReceiptKeywordCustomerName" |
| | | ], |
| | | "name": "keywordType", |
| | | "type": "integer", |
| | | "description": "客户id", |
| | | "name": "clientId", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "sourceId", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "enum": [ |
| | | "" |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4, |
| | | 5 |
| | | ], |
| | | "type": "string", |
| | | "type": "integer", |
| | | "x-enum-comments": { |
| | | "ReceiptSourceTypeChuKuDan": "出库单it", |
| | | "ReceiptSourceTypeCollectionPlan": "收款计划", |
| | | "ReceiptSourceTypeInvoice": "销售发票", |
| | | "ReceiptSourceTypeSalesDetails": "销售明细单", |
| | | "ReceiptSourceTypeServiceContract": "服务合同" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "ReceiptQueryClassExpireLessThen60Days" |
| | | "ReceiptSourceTypeSalesDetails", |
| | | "ReceiptSourceTypeServiceContract", |
| | | "ReceiptSourceTypeInvoice", |
| | | "ReceiptSourceTypeCollectionPlan", |
| | | "ReceiptSourceTypeChuKuDan" |
| | | ], |
| | | "name": "queryClass", |
| | | "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)", |
| | | "name": "sourceType", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateRefundMethods" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/refundType/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "退款方式管理" |
| | | ], |
| | | "summary": "添加退款方式", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddRefundType" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/refundType/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "退款方式管理" |
| | | ], |
| | | "summary": "删除退款方式", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/refundType/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "退款方式管理" |
| | | ], |
| | | "summary": "获取退款方式列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.ListResponse" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.RefundType" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/refundType/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "退款方式管理" |
| | | ], |
| | | "summary": "更新退款方式", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateRefundType" |
| | | } |
| | | } |
| | | ], |
| | |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/request.AddSalesDetails" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | }, |
| | | "/api/serviceCollectionPlan/list": { |
| | | "get": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | |
| | | "summary": "获取收款计划列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "服务合同id", |
| | | "name": "serviceContractId", |
| | | "in": "query" |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.GetServiceCollectionPlanList" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/changePassword": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "用户修改密码", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.ChangePasswordReq" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/deleteUser": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "删除用户", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.DeleteUserReq" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/getUserInfo": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "获取自身信息", |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/getUserList": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "分页获取用户列表(不传分页参数,获取全部)", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.GetUserList" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.PageResult" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/register": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "注册账号", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.Register" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.UserResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/resetPassword": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "重置用户密码", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/setSelfInfo": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "设置用户信息", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.ChangeUserInfo" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/setUserInfo": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "设置用户信息", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.ChangeUserInfo" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/vetting/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | } |
| | | }, |
| | | "definitions": { |
| | | "code.CodeAuto": { |
| | | "type": "object", |
| | | "properties": { |
| | | "AutoLength": { |
| | | "type": "integer" |
| | | }, |
| | | "Desc": { |
| | | "type": "string" |
| | | }, |
| | | "PrefixMethod": { |
| | | "type": "integer" |
| | | }, |
| | | "PrefixValue": { |
| | | "type": "string" |
| | | }, |
| | | "SuffixMethod": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "code.CodeRule": { |
| | | "type": "object", |
| | | "properties": { |
| | | "Desc": { |
| | | "type": "string" |
| | | }, |
| | | "Length": { |
| | | "type": "integer" |
| | | }, |
| | | "Name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "code.CodeStandard": { |
| | | "type": "object", |
| | | "properties": { |
| | | "AutoRule": { |
| | | "$ref": "#/definitions/code.CodeAuto" |
| | | }, |
| | | "ID": { |
| | | "type": "string" |
| | | }, |
| | | "List": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/code.CodeRule" |
| | | } |
| | | }, |
| | | "Method": { |
| | | "type": "integer" |
| | | }, |
| | | "Name": { |
| | | "type": "string" |
| | | }, |
| | | "Status": { |
| | | "type": "string" |
| | | }, |
| | | "Type": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "constvar.BankAccountKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | |
| | | "FaqQueryClassExpireLessThen60Days" |
| | | ] |
| | | }, |
| | | "constvar.InvoiceKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "InvoiceKeywordCustomerName" |
| | | ] |
| | | }, |
| | | "constvar.InvoiceQueryClass": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "InvoiceQueryClassExpireLessThen60Days" |
| | | ] |
| | | }, |
| | | "constvar.InvoiceSourceType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | |
| | | "PaymentTypeQueryClassExpireLessThen60Days" |
| | | ] |
| | | }, |
| | | "constvar.ReceiptKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "ReceiptKeywordCustomerName" |
| | | ] |
| | | }, |
| | | "constvar.ReceiptQueryClass": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "ReceiptQueryClassExpireLessThen60Days" |
| | | ] |
| | | }, |
| | | "constvar.ReceiptSourceType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | |
| | | 4, |
| | | 5 |
| | | ], |
| | | "x-enum-comments": { |
| | | "ReceiptSourceTypeChuKuDan": "出库单it", |
| | | "ReceiptSourceTypeCollectionPlan": "收款计划", |
| | | "ReceiptSourceTypeInvoice": "销售发票", |
| | | "ReceiptSourceTypeSalesDetails": "销售明细单", |
| | | "ReceiptSourceTypeServiceContract": "服务合同" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "ReceiptSourceTypeSalesDetails", |
| | | "ReceiptSourceTypeServiceContract", |
| | |
| | | "model.Client": { |
| | | "type": "object", |
| | | "properties": { |
| | | "_": { |
| | | "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", |
| | | "type": "string" |
| | | }, |
| | | "business_scope": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "client_type_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "contacts": { |
| | | "type": "array", |
| | | "items": { |
| | |
| | | "country_id": { |
| | | "type": "integer" |
| | | }, |
| | | "created_at": { |
| | | "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "creator_id": { |
| | |
| | | } |
| | | }, |
| | | "id": { |
| | | "description": "The ID of the item\nexample: 1", |
| | | "type": "integer" |
| | | }, |
| | | "industry": { |
| | |
| | | "service_member_id": { |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25", |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "model.CollectionProjection": { |
| | | "type": "object", |
| | | "properties": { |
| | | "_": { |
| | | "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", |
| | | "type": "string" |
| | |
| | | }, |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "country": { |
| | | "$ref": "#/definitions/model.Country" |
| | |
| | | }, |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "country": { |
| | | "$ref": "#/definitions/model.Country" |
| | |
| | | "model.Contract": { |
| | | "type": "object", |
| | | "properties": { |
| | | "_": { |
| | | "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", |
| | | "type": "string" |
| | | }, |
| | | "client": { |
| | | "$ref": "#/definitions/model.Client" |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "contractName": { |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", |
| | |
| | | }, |
| | | "quotationId": { |
| | | "type": "integer" |
| | | }, |
| | | "sendTime": { |
| | | "type": "string" |
| | | }, |
| | | "serviceContractStatus": { |
| | | "$ref": "#/definitions/model.ServiceContractStatus" |
| | |
| | | "client_status_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/model.Contact" |
| | | }, |
| | |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "courierCompany": { |
| | | "$ref": "#/definitions/model.CourierCompany" |
| | | }, |
| | |
| | | "invoiceTypeId": { |
| | | "description": "发票类型id", |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "principalId": { |
| | | "description": "销售负责人id", |
| | |
| | | }, |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "end_time": { |
| | | "type": "string" |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "conditions": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "quotationName": { |
| | | "type": "string" |
| | | }, |
| | | "quotation_status": { |
| | | "$ref": "#/definitions/model.QuotationStatus" |
| | |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "client": { |
| | | "description": "客户id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.Client" |
| | | } |
| | | ] |
| | | }, |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "fileId": { |
| | | "description": "附件id", |
| | |
| | | }, |
| | | "moneyType": { |
| | | "description": "币种", |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "paymentType": { |
| | |
| | | "$ref": "#/definitions/constvar.ReceiptSourceType" |
| | | } |
| | | ] |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.RefundMethod": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.RefundType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "collection_projections": { |
| | | "type": "array", |
| | | "items": { |
| | |
| | | "process": { |
| | | "type": "string" |
| | | }, |
| | | "products": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "projected_amount": { |
| | | "type": "number" |
| | | }, |
| | |
| | | }, |
| | | "solutions": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "description": "状态", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.Status" |
| | | } |
| | | ] |
| | | }, |
| | | "status_id": { |
| | | "type": "integer" |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "conditions": { |
| | | "type": "string" |
| | | }, |
| | |
| | | }, |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "deliverType": { |
| | | "type": "integer" |
| | | }, |
| | | "deliveryDate": { |
| | | "type": "string" |
| | |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "quotation": { |
| | | "$ref": "#/definitions/model.Quotation" |
| | | }, |
| | | "quotationId": { |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "type": "integer" |
| | | }, |
| | | "signTime": { |
| | | "type": "string" |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | }, |
| | | "wechatOrderStatus": { |
| | |
| | | "city_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "contact_name": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "type": "integer" |
| | | }, |
| | | "desc": { |
| | | "type": "string" |
| | | }, |
| | | "detail_address": { |
| | | "type": "string" |
| | | }, |
| | | "followRecord": { |
| | |
| | | "model.SalesRefund": { |
| | | "type": "object", |
| | | "properties": { |
| | | "RefundType": { |
| | | "description": "退款方式", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.RefundType" |
| | | } |
| | | ] |
| | | }, |
| | | "amountTotal": { |
| | | "description": "价税合计", |
| | | "type": "number" |
| | |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | |
| | | "refundDate": { |
| | | "type": "string" |
| | | }, |
| | | "refundTypeId": { |
| | | "description": "退款方式ID", |
| | | "type": "integer" |
| | | }, |
| | | "salesReturn": { |
| | | "$ref": "#/definitions/model.SalesReturn" |
| | | }, |
| | | "sourceId": { |
| | | "description": "源单id", |
| | | "type": "integer" |
| | |
| | | "$ref": "#/definitions/constvar.RefundSourceType" |
| | | } |
| | | ] |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | |
| | | "description": "退货状态id", |
| | | "type": "integer" |
| | | }, |
| | | "source": { |
| | | "$ref": "#/definitions/model.SalesDetails" |
| | | }, |
| | | "sourceId": { |
| | | "description": "源单id", |
| | | "type": "integer" |
| | |
| | | "$ref": "#/definitions/constvar.SalesReturnSourceType" |
| | | } |
| | | ] |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "description": "比例", |
| | | "type": "number" |
| | | }, |
| | | "principal": { |
| | | "description": "收款负责人ID", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | ] |
| | | }, |
| | | "principalId": { |
| | | "description": "收款负责人ID", |
| | | "type": "integer" |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/model.Contact" |
| | | }, |
| | | "contactId": { |
| | | "type": "integer" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "endTime": { |
| | | "type": "string" |
| | |
| | | "type": "string" |
| | | }, |
| | | "terms": { |
| | | "type": "string" |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/model.Contact" |
| | | }, |
| | | "contactId": { |
| | | "type": "integer" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "file": { |
| | | "type": "string" |
| | |
| | | }, |
| | | "timelyRateId": { |
| | | "type": "integer" |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/model.Contact" |
| | | }, |
| | | "contactId": { |
| | | "description": "联系人id", |
| | | "type": "integer" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "expectTime": { |
| | | "description": "希望处理时间", |
| | |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "priorityLevel": { |
| | | "$ref": "#/definitions/model.PriorityLevel" |
| | |
| | | "severity": { |
| | | "$ref": "#/definitions/model.Severity" |
| | | }, |
| | | "severityId": { |
| | | "description": "严重程度id", |
| | | "type": "integer" |
| | | }, |
| | | "solution": { |
| | | "description": "解决方法", |
| | | "type": "string" |
| | |
| | | "timeSpentId": { |
| | | "description": "花费时间", |
| | | "type": "integer" |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | |
| | | "description": "物料类型", |
| | | "type": "string" |
| | | }, |
| | | "MaxInventory": { |
| | | "description": "最大库存", |
| | | "type": "integer" |
| | | }, |
| | | "MinInventory": { |
| | | "description": "安全库存", |
| | | "type": "integer" |
| | | }, |
| | | "Name": { |
| | | "type": "string" |
| | | }, |
| | | "Node": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "Number": { |
| | |
| | | "SalePrice": { |
| | | "description": "销售价格", |
| | | "type": "number" |
| | | }, |
| | | "Specs": { |
| | | "description": "规格", |
| | | "type": "string" |
| | | }, |
| | | "Type": { |
| | | "description": "型号", |
| | | "type": "string" |
| | | }, |
| | | "Unit": { |
| | | "type": "string" |
| | |
| | | "client_type_id": { |
| | | "description": "客户类型ID", |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/request.Contact" |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "contractName": { |
| | | "description": "合同名称", |
| | | "type": "string" |
| | | }, |
| | | "file": { |
| | | "type": "string" |
| | | }, |
| | |
| | | }, |
| | | "quotation_id": { |
| | | "type": "integer" |
| | | }, |
| | | "sendTime": { |
| | | "description": "发货时间", |
| | | "type": "string" |
| | | }, |
| | | "status_id": { |
| | | "type": "integer" |
| | |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "courierCompanyId": { |
| | | "description": "物流公司", |
| | | "type": "integer" |
| | |
| | | "invoiceTypeId": { |
| | | "description": "发票类型id", |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "description": "发票编号", |
| | | "type": "string" |
| | | }, |
| | | "principalId": { |
| | | "description": "销售负责人id", |
| | |
| | | "properties": { |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "end_time": { |
| | | "type": "string" |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "conditions": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "quotationName": { |
| | | "description": "报价单名称", |
| | | "type": "string" |
| | | }, |
| | | "quotation_status_id": { |
| | | "type": "integer" |
| | |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "client": { |
| | | "description": "客户id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.Client" |
| | | } |
| | | ] |
| | | }, |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "fileId": { |
| | | "description": "附件id", |
| | |
| | | }, |
| | | "moneyType": { |
| | | "description": "币种", |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "paymentType": { |
| | |
| | | "$ref": "#/definitions/constvar.ReceiptSourceType" |
| | | } |
| | | ] |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddRefundType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "competitors": { |
| | | "type": "string" |
| | | }, |
| | |
| | | }, |
| | | "process": { |
| | | "type": "string" |
| | | }, |
| | | "products": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "projected_amount": { |
| | | "type": "number" |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "conditions": { |
| | | "type": "string" |
| | | }, |
| | | "deliverType": { |
| | | "description": "交付类型:1.一次发货,2.多次发货", |
| | | "type": "integer" |
| | | }, |
| | | "deliveryDate": { |
| | | "type": "string" |
| | |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "quotationId": { |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "city_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "contact_name": { |
| | | "description": "联系人姓名", |
| | | "type": "string" |
| | |
| | | }, |
| | | "desc": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "detail_address": { |
| | | "description": "详细地址", |
| | | "type": "string" |
| | | }, |
| | | "member_id": { |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "contactId": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "type": "integer" |
| | | }, |
| | | "salesDetailsId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractStatusId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractTypeId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceTimes": { |
| | |
| | | "client_type_id": { |
| | | "description": "客户类型ID", |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/request.Contact" |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "contactId": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "contactId": { |
| | | "description": "联系人id", |
| | |
| | | "description": "服务方式id", |
| | | "type": "integer" |
| | | }, |
| | | "severity": { |
| | | "severityId": { |
| | | "description": "严重程度id", |
| | | "type": "integer" |
| | | }, |
| | |
| | | "properties": { |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "masterOrderId": { |
| | | "type": "integer" |
| | |
| | | }, |
| | | "path": { |
| | | "description": "路径", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.ChangePasswordReq": { |
| | | "type": "object", |
| | | "properties": { |
| | | "newPassword": { |
| | | "description": "新密码", |
| | | "type": "string" |
| | | }, |
| | | "password": { |
| | | "description": "密码", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.ChangeUserInfo": { |
| | | "type": "object", |
| | | "properties": { |
| | | "email": { |
| | | "description": "用户邮箱", |
| | | "type": "string" |
| | | }, |
| | | "headerImg": { |
| | | "description": "用户头像", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "用户ID", |
| | | "type": "string" |
| | | }, |
| | | "nickName": { |
| | | "description": "用户昵称", |
| | | "type": "string" |
| | | }, |
| | | "phone": { |
| | | "description": "用户手机号", |
| | | "type": "string" |
| | | }, |
| | | "pos": { |
| | | "description": "用户岗位", |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteUserReq": { |
| | | "type": "object", |
| | | "properties": { |
| | | "userId": { |
| | | "description": "用户ID", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.DownloadFile": { |
| | | "type": "object", |
| | | "required": [ |
| | |
| | | }, |
| | | "client_status_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "contact_id": { |
| | | "type": "integer" |
| | |
| | | "type": "integer" |
| | | }, |
| | | "search_map": { |
| | | "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"客户名称\", \"phone\": \"手机号码\", \"detail_address\":\"详细地址\", \"next_visit_time\":\"下回回访日期\", \"member_name\": \"销售负责人\", \"client_status\": \"客户状态\", \"client_level\": \"重要级别\"}", |
| | | "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"客户名称\", \"phone\": \"手机号码\", \"detail_address\":\"详细地址\", \"next_visit_time\":\"下回回访日期\", \"member_name\": \"销售负责人\", \"client_status\": \"客户状态\", \"client_level\": \"重要级别\",\"representative\": \"法定代表人\", \"registration_time\": \"注册时间\", \"business_scope\": \"经营范围\", \"remark\": \"备注\", \"not_admin\":\"1:我的客户; 2:admin客户\"}", |
| | | "type": "object", |
| | | "additionalProperties": true |
| | | } |
| | |
| | | "request.GetContactList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | |
| | | "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"跟进主题\", \"member_name\": \"跟进人\", \"client_name\": \"客户名称\", \"client_status\": \"客户状态\", \"follow_time\": \"跟进时间\", \"next_follow_time\": \"下次跟进时间\", \"record\": \"跟进记录\", \"phone\": \"联系人电话\", \"contact_name\": \"联系人姓名\", \"sales_leads_id\": \"销售线索id\", \"sale_chance_id\": \"销售机会id\"}", |
| | | "type": "object", |
| | | "additionalProperties": true |
| | | } |
| | | } |
| | | }, |
| | | "request.GetInvoiceList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | | }, |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "sourceId": { |
| | | "type": "integer" |
| | | }, |
| | | "sourceType": { |
| | | "description": "源单类型(1销售明细单2服务合同)", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.InvoiceSourceType" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | |
| | | "request.GetSalesDetailsList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "keywordType": { |
| | | "$ref": "#/definitions/constvar.SalesDetailsKeywordType" |
| | | }, |
| | | "number": { |
| | | "description": "销售子单号", |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | |
| | | }, |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "saleChanceId": { |
| | | "description": "销售机会id", |
| | | "type": "integer" |
| | | } |
| | | } |
| | |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "sourceId": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.GetSalesReturnList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "sourceId": { |
| | | "description": "源单id", |
| | | "type": "integer" |
| | | }, |
| | | "sourceType": { |
| | | "description": "源单类型(1销售明细)", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.SalesReturnSourceType" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | "request.GetServiceCollectionPlanList": { |
| | | "type": "object", |
| | | "required": [ |
| | | "sourceId", |
| | | "sourceType" |
| | | ], |
| | | "properties": { |
| | | "sourceId": { |
| | | "type": "integer" |
| | | }, |
| | | "sourceType": { |
| | | "$ref": "#/definitions/constvar.CollectionSourceType" |
| | | } |
| | | } |
| | | }, |
| | | "request.GetServiceContractList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "contactId": { |
| | | "description": "联系人id", |
| | | "type": "integer" |
| | | }, |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | |
| | | }, |
| | | "queryClass": { |
| | | "$ref": "#/definitions/constvar.ServiceContractQueryClass" |
| | | }, |
| | | "quotationId": { |
| | | "description": "报价单id", |
| | | "type": "integer" |
| | | }, |
| | | "saleChanceId": { |
| | | "description": "销售机会id", |
| | | "type": "integer" |
| | | }, |
| | | "salesDetailsId": { |
| | | "description": "合同订单id", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.GetUserList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "description": "模糊查询关键字", |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | | }, |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.Login": { |
| | | "type": "object", |
| | | "properties": { |
| | | "captcha": { |
| | | "description": "验证码", |
| | | "type": "string" |
| | | }, |
| | | "captchaId": { |
| | | "description": "验证码ID", |
| | | "type": "string" |
| | | }, |
| | | "password": { |
| | | "description": "密码", |
| | | "type": "string" |
| | | }, |
| | | "username": { |
| | | "description": "用户名", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.Plan": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.Register": { |
| | | "type": "object", |
| | | "properties": { |
| | | "authorityId": { |
| | | "description": "用户角色ID", |
| | | "type": "integer" |
| | | }, |
| | | "departmentId": { |
| | | "type": "integer" |
| | | }, |
| | | "email": { |
| | | "type": "string" |
| | | }, |
| | | "headerImg": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "string" |
| | | }, |
| | | "nickName": { |
| | | "type": "string" |
| | | }, |
| | | "password": { |
| | | "type": "string" |
| | | }, |
| | | "phone": { |
| | | "type": "string" |
| | | }, |
| | | "pos": { |
| | | "type": "string" |
| | | }, |
| | | "rePassword": { |
| | | "description": "确认密码", |
| | | "type": "string" |
| | | }, |
| | | "realName": { |
| | | "type": "string" |
| | | }, |
| | | "userType": { |
| | | "$ref": "#/definitions/constvar.UserType" |
| | | }, |
| | | "username": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.SalesDetails": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "conditions": { |
| | | "type": "string" |
| | | }, |
| | | "deliverType": { |
| | | "description": "交付类型:1.一次发货,2.多次发货", |
| | | "type": "integer" |
| | | }, |
| | | "deliveryDate": { |
| | | "type": "string" |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "quotationId": { |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "type": "string" |
| | |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "isInvoice": { |
| | | "type": "string" |
| | |
| | | "properties": { |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "memberId": { |
| | | "type": "integer" |
| | |
| | | "client_type_id": { |
| | | "description": "客户类型ID", |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/request.Contact" |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "contractName": { |
| | | "description": "合同名称", |
| | | "type": "string" |
| | | }, |
| | | "file": { |
| | | "type": "string" |
| | | }, |
| | |
| | | }, |
| | | "quotation_id": { |
| | | "type": "integer" |
| | | }, |
| | | "sendTime": { |
| | | "description": "发货时间", |
| | | "type": "string" |
| | | }, |
| | | "status_id": { |
| | | "type": "integer" |
| | |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "courierCompanyId": { |
| | | "description": "物流公司", |
| | | "type": "integer" |
| | |
| | | "invoiceTypeId": { |
| | | "description": "发票类型id", |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "description": "发票编号", |
| | | "type": "string" |
| | | }, |
| | | "principalId": { |
| | | "description": "销售负责人id", |
| | |
| | | "properties": { |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "end_time": { |
| | | "type": "string" |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "conditions": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "quotationName": { |
| | | "description": "报价单名称", |
| | | "type": "string" |
| | | }, |
| | | "quotation_status_id": { |
| | | "type": "integer" |
| | |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "client": { |
| | | "description": "客户id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.Client" |
| | | } |
| | | ] |
| | | }, |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "fileId": { |
| | | "description": "附件id", |
| | |
| | | }, |
| | | "moneyType": { |
| | | "description": "币种", |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "paymentType": { |
| | |
| | | "$ref": "#/definitions/constvar.ReceiptSourceType" |
| | | } |
| | | ] |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateRefundMethod" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateRefundType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "competitors": { |
| | | "type": "string" |
| | | }, |
| | |
| | | }, |
| | | "process": { |
| | | "type": "string" |
| | | }, |
| | | "products": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "projected_amount": { |
| | | "type": "number" |
| | |
| | | "city_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "contact_name": { |
| | | "description": "联系人姓名", |
| | | "type": "string" |
| | |
| | | }, |
| | | "desc": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "detail_address": { |
| | | "description": "详细地址", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | |
| | | "description": "比例", |
| | | "type": "number" |
| | | }, |
| | | "principal": { |
| | | "description": "收款负责人ID", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | ] |
| | | }, |
| | | "principalId": { |
| | | "description": "收款负责人ID", |
| | | "type": "integer" |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "contactId": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "type": "integer" |
| | | }, |
| | | "salesDetailsId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractStatusId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractTypeId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceTimes": { |
| | |
| | | "client_type_id": { |
| | | "description": "客户类型ID", |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/request.Contact" |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "contactId": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "contactId": { |
| | | "description": "联系人id", |
| | |
| | | "description": "服务方式id", |
| | | "type": "integer" |
| | | }, |
| | | "severity": { |
| | | "severityId": { |
| | | "description": "严重程度id", |
| | | "type": "integer" |
| | | }, |
| | |
| | | "properties": { |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.PageResult": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": {}, |
| | | "page": { |
| | | "type": "integer" |
| | | }, |
| | | "pageSize": { |
| | | "type": "integer" |
| | | }, |
| | | "total": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "response.PlanResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/model.TimelyRate" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.UserResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "user": { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | } |
| | | } |