| | |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Quotation: |
| | | properties: |
| | | client_id: |
| | | type: integer |
| | | conditions: |
| | | type: string |
| | | contact_id: |
| | | type: integer |
| | | file: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | member_id: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | quotation_status_id: |
| | | type: integer |
| | | sale_chance_id: |
| | | type: integer |
| | | validity_date: |
| | | type: string |
| | | type: object |
| | | model.Region: |
| | | properties: |
| | | id: |
| | |
| | | properties: |
| | | name: |
| | | description: 省份名称 |
| | | type: string |
| | | type: object |
| | | request.AddQuotation: |
| | | properties: |
| | | client_id: |
| | | type: integer |
| | | conditions: |
| | | type: string |
| | | contact_id: |
| | | type: integer |
| | | file: |
| | | type: string |
| | | member_id: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | quotation_status_id: |
| | | type: integer |
| | | sale_chance_id: |
| | | type: integer |
| | | validity_date: |
| | | type: string |
| | | type: object |
| | | request.AddRegion: |
| | |
| | | $ref: '#/definitions/request.UpdateProvince' |
| | | type: array |
| | | type: object |
| | | request.UpdateQuotation: |
| | | properties: |
| | | client_id: |
| | | type: integer |
| | | conditions: |
| | | type: string |
| | | contact_id: |
| | | type: integer |
| | | file: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | member_id: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | quotation_status_id: |
| | | type: integer |
| | | sale_chance_id: |
| | | type: integer |
| | | validity_date: |
| | | type: string |
| | | type: object |
| | | request.UpdateRegion: |
| | | properties: |
| | | id: |
| | |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.Province' |
| | | type: array |
| | | type: object |
| | | response.QuotationResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.Quotation' |
| | | type: array |
| | | type: object |
| | | response.RegisteredCapitalResponse: |
| | |
| | | summary: 更新省份 |
| | | tags: |
| | | - Province |
| | | /api/quotation/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddQuotation' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加报价单 |
| | | tags: |
| | | - Quotation |
| | | /api/quotation/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: |
| | | - Quotation |
| | | /api/quotation/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.QuotationResponse' |
| | | type: object |
| | | summary: 报价单列表 |
| | | tags: |
| | | - Quotation |
| | | /api/quotation/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateQuotation' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新报价单 |
| | | tags: |
| | | - Quotation |
| | | /api/region/add: |
| | | post: |
| | | parameters: |