| | |
| | | definitions: |
| | | constvar.UserType: |
| | | enum: |
| | | - 1 |
| | | - 2 |
| | | - 3 |
| | | type: integer |
| | | x-enum-comments: |
| | | UserTypePrimary: 主账户 |
| | | UserTypeSub: 子账户 |
| | | UserTypeSuper: 超级管理员 |
| | | x-enum-varnames: |
| | | - UserTypeSuper |
| | | - UserTypePrimary |
| | | - UserTypeSub |
| | | contextx.Response: |
| | | properties: |
| | | code: |
| | |
| | | msg: |
| | | type: string |
| | | type: object |
| | | model.User: |
| | | model.ScheduleTask: |
| | | properties: |
| | | companyCity: |
| | | amount: |
| | | description: |- |
| | | Parameter string `json:"parameter"` //产品名称 |
| | | Customer string `json:"customer"` |
| | | DeliverDate string `json:"deliverDate"` |
| | | OrderAttr string `json:"orderAttr"` |
| | | type: number |
| | | data: |
| | | description: 排程任务json串 |
| | | type: string |
| | | companyContact: |
| | | type: string |
| | | companyEmail: |
| | | type: string |
| | | companyLogo: |
| | | type: string |
| | | companyName: |
| | | type: string |
| | | companyProvince: |
| | | type: string |
| | | companyTrade: |
| | | type: string |
| | | createAt: |
| | | description: 创建时间 |
| | | type: string |
| | | enable: |
| | | type: boolean |
| | | headerImage: |
| | | type: string |
| | | id: |
| | | type: string |
| | | ip: |
| | | type: string |
| | | menuIds: |
| | | description: 菜单ID列表 |
| | | items: |
| | | type: integer |
| | | type: array |
| | | nickName: |
| | | type: string |
| | | parentId: |
| | | type: string |
| | | parentName: |
| | | type: string |
| | | phone: |
| | | type: string |
| | | port: |
| | | type: string |
| | | pos: |
| | | type: string |
| | | status: |
| | | endTime: |
| | | type: integer |
| | | systemName: |
| | | id: |
| | | type: integer |
| | | orderId: |
| | | description: 订单id |
| | | type: string |
| | | updateAt: |
| | | description: 更新时间 |
| | | productId: |
| | | description: 订单id |
| | | type: string |
| | | userType: |
| | | $ref: '#/definitions/constvar.UserType' |
| | | username: |
| | | productName: |
| | | description: 产品名称 |
| | | type: string |
| | | startTime: |
| | | type: integer |
| | | unit: |
| | | type: string |
| | | type: object |
| | | request.TaskInfo: |
| | |
| | | description: 工单 |
| | | type: string |
| | | type: object |
| | | response.LoginResponse: |
| | | properties: |
| | | expiresAt: |
| | | type: integer |
| | | token: |
| | | type: string |
| | | user: |
| | | $ref: '#/definitions/model.User' |
| | | type: object |
| | | info: |
| | | contact: {} |
| | | paths: |
| | |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 任务开启通知 |
| | | tags: |
| | | - Base |
| | | /v1/task/list: |
| | | get: |
| | | parameters: |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.LoginResponse' |
| | | items: |
| | | $ref: '#/definitions/model.ScheduleTask' |
| | | type: array |
| | | type: object |
| | | summary: 任务开启通知 |
| | | tags: |