| | |
| | | type: integer |
| | | number: |
| | | type: string |
| | | quotation: |
| | | $ref: '#/definitions/model.Quotation' |
| | | quotationId: |
| | | type: integer |
| | | statusId: |
| | |
| | | type: string |
| | | start_time: |
| | | type: string |
| | | type: object |
| | | model.Plan: |
| | | properties: |
| | | clientId: |
| | | type: integer |
| | | content: |
| | | type: string |
| | | endTime: |
| | | type: string |
| | | file: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | memberId: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | salesDetails: |
| | | $ref: '#/definitions/model.SalesDetails' |
| | | salesDetailsId: |
| | | type: integer |
| | | startTime: |
| | | type: string |
| | | subOrder: |
| | | $ref: '#/definitions/model.SubOrder' |
| | | subOrderId: |
| | | type: integer |
| | | type: object |
| | | model.Possibility: |
| | | properties: |
| | |
| | | start_time: |
| | | type: string |
| | | type: object |
| | | request.AddPlan: |
| | | properties: |
| | | plan: |
| | | $ref: '#/definitions/request.Plan' |
| | | type: object |
| | | request.AddPossibility: |
| | | properties: |
| | | name: |
| | |
| | | username: |
| | | description: 用户名 |
| | | type: string |
| | | type: object |
| | | request.Plan: |
| | | properties: |
| | | clientId: |
| | | type: integer |
| | | content: |
| | | type: string |
| | | endTime: |
| | | type: string |
| | | file: |
| | | type: string |
| | | memberId: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | salesDetailsId: |
| | | type: integer |
| | | startTime: |
| | | type: string |
| | | subOrderId: |
| | | type: integer |
| | | type: object |
| | | request.Register: |
| | | properties: |
| | |
| | | start_time: |
| | | type: string |
| | | type: object |
| | | request.UpdatePlan: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | plan: |
| | | $ref: '#/definitions/request.Plan' |
| | | type: object |
| | | request.UpdatePossibilities: |
| | | properties: |
| | | possibilities: |
| | |
| | | type: integer |
| | | total: |
| | | type: integer |
| | | type: object |
| | | response.PlanResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.Plan' |
| | | type: array |
| | | type: object |
| | | response.PossibilityResponse: |
| | | properties: |
| | |
| | | summary: 更新主订单 |
| | | tags: |
| | | - MasterOrder |
| | | /api/plan/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddPlan' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加计划 |
| | | tags: |
| | | - Plan |
| | | /api/plan/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: |
| | | - Plan |
| | | /api/plan/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.PlanResponse' |
| | | type: object |
| | | summary: 获取计划列表 |
| | | tags: |
| | | - Plan |
| | | /api/plan/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdatePlan' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新计划 |
| | | tags: |
| | | - Plan |
| | | /api/possibility/add: |
| | | post: |
| | | parameters: |