| | |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Possibility: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Province: |
| | | properties: |
| | | cities: |
| | |
| | | type: string |
| | | pain_points: |
| | | type: string |
| | | possibilities: |
| | | possibilities_id: |
| | | type: integer |
| | | process: |
| | | type: string |
| | |
| | | - follow_record |
| | | type: object |
| | | request.AddIndustry: |
| | | properties: |
| | | name: |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddPossibility: |
| | | properties: |
| | | name: |
| | | type: string |
| | |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdatePossibilities: |
| | | properties: |
| | | possibilities: |
| | | items: |
| | | $ref: '#/definitions/request.UpdatePossibility' |
| | | type: array |
| | | required: |
| | | - possibilities |
| | | type: object |
| | | request.UpdatePossibility: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | required: |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdateProvince: |
| | | properties: |
| | | id: |
| | |
| | | type: integer |
| | | total: |
| | | type: integer |
| | | type: object |
| | | response.PossibilityResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.Possibility' |
| | | type: array |
| | | type: object |
| | | response.ProvinceResponse: |
| | | properties: |
| | |
| | | summary: 更新行业 |
| | | tags: |
| | | - Industry |
| | | /api/possibility/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddPossibility' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加商机可能性 |
| | | tags: |
| | | - Possibility |
| | | /api/possibility/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: |
| | | - Possibility |
| | | /api/possibility/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.PossibilityResponse' |
| | | type: object |
| | | summary: 商机可能性列表 |
| | | tags: |
| | | - Possibility |
| | | /api/possibility/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdatePossibilities' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新商机可能性 |
| | | tags: |
| | | - Possibility |
| | | /api/province/add: |
| | | post: |
| | | parameters: |