| | |
| | | type: object |
| | | model.MasterOrder: |
| | | properties: |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | client_id: |
| | | type: integer |
| | | end_time: |
| | |
| | | type: string |
| | | addressee: |
| | | type: string |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | clientId: |
| | | type: integer |
| | | conditions: |
| | |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Satisfaction: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.ServiceContract: |
| | | properties: |
| | | clientId: |
| | |
| | | type: object |
| | | model.SubOrder: |
| | | properties: |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | clientId: |
| | | type: integer |
| | | id: |
| | |
| | | $ref: '#/definitions/request.SalesReturn' |
| | | type: object |
| | | request.AddSalesSources: |
| | | properties: |
| | | name: |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddSatisfaction: |
| | | properties: |
| | | name: |
| | | type: string |
| | |
| | | $ref: '#/definitions/request.UpdateSalesSources' |
| | | type: array |
| | | type: object |
| | | request.UpdateSatisfaction: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | required: |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdateSatisfactions: |
| | | properties: |
| | | satisfactions: |
| | | items: |
| | | $ref: '#/definitions/request.UpdateSatisfaction' |
| | | type: array |
| | | required: |
| | | - satisfactions |
| | | type: object |
| | | request.UpdateServiceContract: |
| | | properties: |
| | | clientId: |
| | |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.SalesSources' |
| | | type: array |
| | | type: object |
| | | response.SatisfactionResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.Satisfaction' |
| | | type: array |
| | | type: object |
| | | response.ServiceContractsResponse: |
| | |
| | | summary: 更新商机来源 |
| | | tags: |
| | | - SalesSources |
| | | /api/satisfaction/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddSatisfaction' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加满意度 |
| | | tags: |
| | | - Satisfaction |
| | | /api/satisfaction/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: |
| | | - Satisfaction |
| | | /api/satisfaction/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.SatisfactionResponse' |
| | | type: object |
| | | summary: 满意度列表 |
| | | tags: |
| | | - Satisfaction |
| | | /api/satisfaction/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateSatisfactions' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新满意度 |
| | | tags: |
| | | - Satisfaction |
| | | /api/serviceContract/add: |
| | | post: |
| | | parameters: |