| | |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.RegularCustomers: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.SaleChance: |
| | | properties: |
| | | advantages: |
| | |
| | | type: string |
| | | type: object |
| | | request.AddRegisteredCapital: |
| | | properties: |
| | | name: |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddRegularCustomers: |
| | | properties: |
| | | name: |
| | | type: string |
| | |
| | | $ref: '#/definitions/request.UpdateRegisteredCapital' |
| | | type: array |
| | | type: object |
| | | request.UpdateRegularCustomers: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | required: |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdateRegularCustomersList: |
| | | properties: |
| | | regularCustomers: |
| | | items: |
| | | $ref: '#/definitions/request.UpdateRegularCustomers' |
| | | type: array |
| | | required: |
| | | - regularCustomers |
| | | type: object |
| | | request.UpdateSaleChance: |
| | | properties: |
| | | advantages: |
| | |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.RegisteredCapital' |
| | | type: array |
| | | type: object |
| | | response.RegularCustomersResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.RegularCustomers' |
| | | type: array |
| | | type: object |
| | | response.SaleChanceResponse: |
| | |
| | | summary: 更新注册资本 |
| | | tags: |
| | | - RegisteredCapital |
| | | /api/regularCustomers/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddRegularCustomers' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加常客 |
| | | tags: |
| | | - RegularCustomers |
| | | /api/regularCustomers/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: |
| | | - RegularCustomers |
| | | /api/regularCustomers/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.RegularCustomersResponse' |
| | | type: object |
| | | summary: 常客列表 |
| | | tags: |
| | | - RegularCustomers |
| | | /api/regularCustomers/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateRegularCustomersList' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新常客 |
| | | tags: |
| | | - RegularCustomers |
| | | /api/saleChance/add: |
| | | post: |
| | | parameters: |