| | |
| | | definitions: |
| | | constvar.BankAccountKeywordType: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - BankAccountKeywordCustomerName |
| | | constvar.BankAccountQueryClass: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - BankAccountQueryClassExpireLessThen60Days |
| | | constvar.FaqKeywordType: |
| | | enum: |
| | | - "" |
| | |
| | | type: string |
| | | x-enum-varnames: |
| | | - FaqQueryClassExpireLessThen60Days |
| | | constvar.PaymentTypeKeywordType: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - PaymentTypeKeywordCustomerName |
| | | constvar.PaymentTypeQueryClass: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - PaymentTypeQueryClassExpireLessThen60Days |
| | | constvar.ReceiptKeywordType: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - ReceiptKeywordCustomerName |
| | | constvar.ReceiptQueryClass: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - ReceiptQueryClassExpireLessThen60Days |
| | | constvar.SalesStatus: |
| | | enum: |
| | | - 1 |
| | |
| | | items: |
| | | $ref: '#/definitions/model.Menu' |
| | | type: array |
| | | type: object |
| | | model.BankAccount: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.City: |
| | | properties: |
| | |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.PaymentType: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Plan: |
| | | properties: |
| | | clientId: |
| | |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Receipt: |
| | | 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 |
| | | type: object |
| | | model.RefundMethod: |
| | | properties: |
| | |
| | | percent: |
| | | description: 比例 |
| | | type: number |
| | | principal: |
| | | principalId: |
| | | description: 收款负责人ID |
| | | type: integer |
| | | remark: |
| | |
| | | $ref: '#/definitions/request.CasbinInfo' |
| | | type: array |
| | | type: object |
| | | request.AddBankAccount: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.AddCity: |
| | | properties: |
| | | name: |
| | |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddPaymentType: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.AddPlan: |
| | | properties: |
| | | plan: |
| | |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddReceipt: |
| | | 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 |
| | | type: object |
| | | request.AddRefundMethod: |
| | | properties: |
| | |
| | | required: |
| | | - account_id |
| | | type: object |
| | | request.UpdateBankAccount: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.UpdateCities: |
| | | properties: |
| | | cities: |
| | |
| | | required: |
| | | - order_type |
| | | type: object |
| | | request.UpdatePaymentType: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.UpdatePlan: |
| | | properties: |
| | | id: |
| | |
| | | type: array |
| | | required: |
| | | - quotation_status |
| | | type: object |
| | | request.UpdateReceipt: |
| | | 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 |
| | | type: object |
| | | request.UpdateRefundMethod: |
| | | properties: |
| | |
| | | percent: |
| | | description: 比例 |
| | | type: number |
| | | principal: |
| | | principalId: |
| | | description: 收款负责人ID |
| | | type: integer |
| | | remark: |
| | |
| | | summary: 设置角色菜单 |
| | | tags: |
| | | - Authority |
| | | /api/bankAccount/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddBankAccount' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加银行账户 |
| | | tags: |
| | | - 银行账户管理 |
| | | /api/bankAccount/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除银行账户 |
| | | tags: |
| | | - 银行账户管理 |
| | | /api/bankAccount/list: |
| | | get: |
| | | parameters: |
| | | - in: query |
| | | name: keyword |
| | | type: string |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: keywordType |
| | | type: string |
| | | x-enum-varnames: |
| | | - BankAccountKeywordCustomerName |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: queryClass |
| | | type: string |
| | | x-enum-varnames: |
| | | - BankAccountQueryClassExpireLessThen60Days |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/model.BankAccount' |
| | | type: array |
| | | type: object |
| | | summary: 获取银行账户列表 |
| | | tags: |
| | | - 银行账户管理 |
| | | /api/bankAccount/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateBankAccount' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新银行账户 |
| | | tags: |
| | | - 银行账户管理 |
| | | /api/base/captcha: |
| | | post: |
| | | produces: |
| | |
| | | summary: 更新工单类型 |
| | | tags: |
| | | - OrderType |
| | | /api/paymentType/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddPaymentType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加支付方式 |
| | | tags: |
| | | - 支付方式管理 |
| | | /api/paymentType/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除支付方式 |
| | | tags: |
| | | - 支付方式管理 |
| | | /api/paymentType/list: |
| | | get: |
| | | parameters: |
| | | - in: query |
| | | name: keyword |
| | | type: string |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: keywordType |
| | | type: string |
| | | x-enum-varnames: |
| | | - PaymentTypeKeywordCustomerName |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: queryClass |
| | | type: string |
| | | x-enum-varnames: |
| | | - PaymentTypeQueryClassExpireLessThen60Days |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/model.PaymentType' |
| | | type: array |
| | | type: object |
| | | summary: 获取支付方式列表 |
| | | tags: |
| | | - 支付方式管理 |
| | | /api/paymentType/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdatePaymentType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新支付方式 |
| | | tags: |
| | | - 支付方式管理 |
| | | /api/plan/add: |
| | | post: |
| | | parameters: |
| | |
| | | summary: 更新报价单状态 |
| | | tags: |
| | | - QuotationStatus |
| | | /api/receipt/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddReceipt' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加收款单 |
| | | tags: |
| | | - 收款单管理 |
| | | /api/receipt/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除收款单 |
| | | tags: |
| | | - 收款单管理 |
| | | /api/receipt/list: |
| | | get: |
| | | parameters: |
| | | - in: query |
| | | name: keyword |
| | | type: string |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: keywordType |
| | | type: string |
| | | x-enum-varnames: |
| | | - ReceiptKeywordCustomerName |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: queryClass |
| | | type: string |
| | | x-enum-varnames: |
| | | - ReceiptQueryClassExpireLessThen60Days |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/model.Receipt' |
| | | type: array |
| | | type: object |
| | | summary: 获取收款单列表 |
| | | tags: |
| | | - 收款单管理 |
| | | /api/receipt/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateReceipt' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新收款单 |
| | | tags: |
| | | - 收款单管理 |
| | | /api/refundMethod/add: |
| | | post: |
| | | parameters: |