| | |
| | | x-enum-varnames: |
| | | - CollectionStatusUnCollected |
| | | - CollectionStatusCollected |
| | | constvar.CourierCompanyKeywordType: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - CourierCompanyKeywordCustomerName |
| | | constvar.CourierCompanyQueryClass: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - CourierCompanyQueryClassExpireLessThen60Days |
| | | constvar.FaqKeywordType: |
| | | enum: |
| | | - "" |
| | |
| | | type: string |
| | | x-enum-varnames: |
| | | - FileQueryClassExpireLessThen60Days |
| | | constvar.InvoiceKeywordType: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - InvoiceKeywordCustomerName |
| | | constvar.InvoiceQueryClass: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - InvoiceQueryClassExpireLessThen60Days |
| | | constvar.InvoiceStatusKeywordType: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - InvoiceStatusKeywordCustomerName |
| | | constvar.InvoiceStatusQueryClass: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - InvoiceStatusQueryClassExpireLessThen60Days |
| | | constvar.InvoiceTypeKeywordType: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - InvoiceTypeKeywordCustomerName |
| | | constvar.InvoiceTypeQueryClass: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - InvoiceTypeQueryClassExpireLessThen60Days |
| | | constvar.PaymentTypeKeywordType: |
| | | enum: |
| | | - "" |
| | |
| | | $ref: '#/definitions/model.Province' |
| | | type: array |
| | | type: object |
| | | model.CourierCompany: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Currency: |
| | | properties: |
| | | id: |
| | |
| | | bucket: |
| | | description: 对象存储bucket |
| | | type: string |
| | | content: |
| | | description: 文件内容 |
| | | type: string |
| | | createTime: |
| | | description: 创建时间 |
| | | type: string |
| | | downloadCount: |
| | | description: 下次次数 |
| | | type: integer |
| | |
| | | fileType: |
| | | description: 文件类型 |
| | | type: string |
| | | id: |
| | | type: integer |
| | | key: |
| | | description: 对象存储key |
| | | type: string |
| | |
| | | type: integer |
| | | sourceType: |
| | | description: 附件来源 |
| | | type: string |
| | | updateTime: |
| | | type: string |
| | | type: object |
| | | model.FollowRecord: |
| | |
| | | type: string |
| | | type: object |
| | | model.Industry: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Invoice: |
| | | properties: |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | | courierCompany: |
| | | $ref: '#/definitions/model.CourierCompany' |
| | | courierCompanyId: |
| | | description: 物流公司 |
| | | type: integer |
| | | courierNumber: |
| | | description: 物流单号 |
| | | type: string |
| | | id: |
| | | type: integer |
| | | invoiceDate: |
| | | description: 开票日期 |
| | | type: string |
| | | invoiceNumber: |
| | | description: 发票号码 |
| | | type: string |
| | | invoiceStatus: |
| | | $ref: '#/definitions/model.InvoiceStatus' |
| | | invoiceStatusId: |
| | | description: 发票状态id |
| | | type: integer |
| | | invoiceType: |
| | | $ref: '#/definitions/model.InvoiceType' |
| | | invoiceTypeId: |
| | | description: 发票类型id |
| | | type: integer |
| | | principalId: |
| | | description: 销售负责人id |
| | | type: integer |
| | | sourceId: |
| | | description: 源单id |
| | | type: integer |
| | | sourceType: |
| | | description: 源单类型(1销售明细单2服务合同) |
| | | type: integer |
| | | subject: |
| | | description: 主题 |
| | | type: string |
| | | taxpayerIdNumber: |
| | | description: 纳税识别号 |
| | | type: string |
| | | type: object |
| | | model.InvoiceStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.InvoiceType: |
| | | properties: |
| | | id: |
| | | type: integer |
| | |
| | | description: 国家名称 |
| | | type: string |
| | | type: object |
| | | request.AddCourierCompany: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.AddCurrency: |
| | | properties: |
| | | name: |
| | |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddInvoice: |
| | | properties: |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | | courierCompanyId: |
| | | description: 物流公司 |
| | | type: integer |
| | | courierNumber: |
| | | description: 物流单号 |
| | | type: string |
| | | invoiceDate: |
| | | description: 开票日期 |
| | | type: string |
| | | invoiceNumber: |
| | | description: 发票号码 |
| | | type: string |
| | | invoiceStatusId: |
| | | description: 发票状态id |
| | | type: integer |
| | | invoiceTypeId: |
| | | description: 发票类型id |
| | | type: integer |
| | | principalId: |
| | | description: 销售负责人id |
| | | type: integer |
| | | sourceId: |
| | | description: 源单id |
| | | type: integer |
| | | sourceType: |
| | | description: 源单类型(1销售明细单2服务合同) |
| | | type: integer |
| | | subject: |
| | | description: 主题 |
| | | type: string |
| | | taxpayerIdNumber: |
| | | description: 纳税识别号 |
| | | type: string |
| | | type: object |
| | | request.AddInvoiceStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.AddInvoiceType: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.AddIsInvoice: |
| | | properties: |
| | |
| | | description: 国家名称 |
| | | type: string |
| | | type: object |
| | | request.UpdateCourierCompany: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.UpdateCurrency: |
| | | properties: |
| | | id: |
| | |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.UpdateFile: |
| | | 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 |
| | | type: object |
| | | request.UpdateFollowRecord: |
| | | properties: |
| | | follow_record: |
| | |
| | | required: |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdateInvoice: |
| | | properties: |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | | courierCompanyId: |
| | | description: 物流公司 |
| | | type: integer |
| | | courierNumber: |
| | | description: 物流单号 |
| | | type: string |
| | | id: |
| | | type: integer |
| | | invoiceDate: |
| | | description: 开票日期 |
| | | type: integer |
| | | invoiceNumber: |
| | | description: 发票号码 |
| | | type: string |
| | | invoiceStatusId: |
| | | description: 发票状态id |
| | | type: integer |
| | | invoiceTypeId: |
| | | description: 发票类型id |
| | | type: integer |
| | | principalId: |
| | | description: 销售负责人id |
| | | type: integer |
| | | sourceId: |
| | | description: 源单id |
| | | type: integer |
| | | sourceType: |
| | | description: 源单类型(1销售明细单2服务合同) |
| | | type: integer |
| | | subject: |
| | | description: 主题 |
| | | type: string |
| | | taxpayerIdNumber: |
| | | description: 纳税识别号 |
| | | type: string |
| | | type: object |
| | | request.UpdateInvoiceStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.UpdateInvoiceType: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.UpdateIsInvoice: |
| | | properties: |
| | |
| | | summary: 更新国家 |
| | | tags: |
| | | - Country |
| | | /api/courierCompany/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddCourierCompany' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加物流公司 |
| | | tags: |
| | | - 物流公司 |
| | | /api/courierCompany/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/courierCompany/list: |
| | | get: |
| | | parameters: |
| | | - in: query |
| | | name: keyword |
| | | type: string |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: keywordType |
| | | type: string |
| | | x-enum-varnames: |
| | | - CourierCompanyKeywordCustomerName |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: queryClass |
| | | type: string |
| | | x-enum-varnames: |
| | | - CourierCompanyQueryClassExpireLessThen60Days |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/model.CourierCompany' |
| | | type: array |
| | | type: object |
| | | summary: 获取物流公司列表 |
| | | tags: |
| | | - 物流公司 |
| | | /api/courierCompany/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateCourierCompany' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新物流公司 |
| | | tags: |
| | | - 物流公司 |
| | | /api/currency/add: |
| | | post: |
| | | parameters: |
| | |
| | | summary: 获取附件列表 |
| | | tags: |
| | | - 附件管理 |
| | | /api/file/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateFile' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新附件 |
| | | tags: |
| | | - 附件管理 |
| | | /api/followRecord/add: |
| | | post: |
| | | parameters: |
| | |
| | | summary: 更新行业 |
| | | tags: |
| | | - Industry |
| | | /api/invoice/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddInvoice' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加销售发票 |
| | | tags: |
| | | - 销售发票 |
| | | /api/invoice/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/invoice/list: |
| | | get: |
| | | parameters: |
| | | - in: query |
| | | name: keyword |
| | | type: string |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: keywordType |
| | | type: string |
| | | x-enum-varnames: |
| | | - InvoiceKeywordCustomerName |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: queryClass |
| | | type: string |
| | | x-enum-varnames: |
| | | - InvoiceQueryClassExpireLessThen60Days |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/model.Invoice' |
| | | type: array |
| | | type: object |
| | | summary: 获取销售发票列表 |
| | | tags: |
| | | - 销售发票 |
| | | /api/invoice/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateInvoice' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新销售发票 |
| | | tags: |
| | | - 销售发票 |
| | | /api/invoiceStatus/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddInvoiceStatus' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加发票状态 |
| | | tags: |
| | | - 发票状态 |
| | | /api/invoiceStatus/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/invoiceStatus/list: |
| | | get: |
| | | parameters: |
| | | - in: query |
| | | name: keyword |
| | | type: string |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: keywordType |
| | | type: string |
| | | x-enum-varnames: |
| | | - InvoiceStatusKeywordCustomerName |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: queryClass |
| | | type: string |
| | | x-enum-varnames: |
| | | - InvoiceStatusQueryClassExpireLessThen60Days |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/model.InvoiceStatus' |
| | | type: array |
| | | type: object |
| | | summary: 获取发票状态列表 |
| | | tags: |
| | | - 发票状态 |
| | | /api/invoiceStatus/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateInvoiceStatus' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新发票状态 |
| | | tags: |
| | | - 发票状态 |
| | | /api/invoiceType/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddInvoiceType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加发票类型 |
| | | tags: |
| | | - 发票类型 |
| | | /api/invoiceType/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/invoiceType/list: |
| | | get: |
| | | parameters: |
| | | - in: query |
| | | name: keyword |
| | | type: string |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: keywordType |
| | | type: string |
| | | x-enum-varnames: |
| | | - InvoiceTypeKeywordCustomerName |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: queryClass |
| | | type: string |
| | | x-enum-varnames: |
| | | - InvoiceTypeQueryClassExpireLessThen60Days |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/model.InvoiceType' |
| | | type: array |
| | | type: object |
| | | summary: 获取发票类型列表 |
| | | tags: |
| | | - 发票类型 |
| | | /api/invoiceType/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateInvoiceType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新发票类型 |
| | | tags: |
| | | - 发票类型 |
| | | /api/isInvoice/add: |
| | | post: |
| | | parameters: |