| | |
| | | wechat: |
| | | type: string |
| | | type: object |
| | | model.Contract: |
| | | properties: |
| | | clientId: |
| | | type: integer |
| | | file: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | memberId: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | quotationId: |
| | | type: integer |
| | | statusId: |
| | | type: integer |
| | | type: object |
| | | model.Country: |
| | | properties: |
| | | id: |
| | |
| | | wechat: |
| | | description: 微信号 |
| | | type: string |
| | | type: object |
| | | request.AddContract: |
| | | properties: |
| | | client_id: |
| | | type: integer |
| | | file: |
| | | type: string |
| | | member_id: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | quotation_id: |
| | | type: integer |
| | | status_id: |
| | | type: integer |
| | | type: object |
| | | request.AddCountry: |
| | | properties: |
| | |
| | | description: 微信号 |
| | | type: string |
| | | type: object |
| | | request.UpdateContract: |
| | | properties: |
| | | client_id: |
| | | type: integer |
| | | file: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | member_id: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | quotation_id: |
| | | type: integer |
| | | status_id: |
| | | type: integer |
| | | type: object |
| | | request.UpdateCountry: |
| | | properties: |
| | | id: |
| | |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.ContactDetail' |
| | | type: array |
| | | type: object |
| | | response.ContractResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.Contract' |
| | | type: array |
| | | type: object |
| | | response.CountryResponse: |
| | |
| | | summary: 更新联系人 |
| | | tags: |
| | | - Contact |
| | | /api/contract/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddContract' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加合同 |
| | | tags: |
| | | - Contract |
| | | /api/contract/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: |
| | | - Contract |
| | | /api/contract/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.ContractResponse' |
| | | type: object |
| | | summary: 获取合同列表 |
| | | tags: |
| | | - Contract |
| | | /api/contract/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateContract' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新合同 |
| | | tags: |
| | | - Contract |
| | | /api/country/add: |
| | | post: |
| | | parameters: |