| | |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddStatus: |
| | | properties: |
| | | name: |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.ChangePasswordReq: |
| | | properties: |
| | | newPassword: |
| | |
| | | items: |
| | | $ref: '#/definitions/request.UpdateSalesSources' |
| | | type: array |
| | | type: object |
| | | request.UpdateStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | required: |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdateStatusList: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/request.UpdateStatus' |
| | | type: array |
| | | required: |
| | | - list |
| | | type: object |
| | | response.CityResponse: |
| | | properties: |
| | |
| | | summary: 更新商机来源 |
| | | tags: |
| | | - SalesSources |
| | | /api/status/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddStatus' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加状态 |
| | | tags: |
| | | - Status |
| | | /api/status/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: |
| | | - Status |
| | | /api/status/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 状态列表 |
| | | tags: |
| | | - Status |
| | | /api/status/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateStatusList' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新状态 |
| | | tags: |
| | | - Status |
| | | /api/user/changePassword: |
| | | post: |
| | | parameters: |