zhangqian
2023-08-15 550bd8a218224e6c73201f444387d66a299f438b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
definitions:
  contextx.Response:
    properties:
      code:
        type: integer
      data: {}
      msg:
        type: string
    type: object
  model.ScheduleTask:
    properties:
      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
      endTime:
        type: integer
      id:
        type: integer
      orderId:
        description: 订单id
        type: string
      productId:
        description: 订单id
        type: string
      productName:
        description: 产品名称
        type: string
      startTime:
        type: integer
      unit:
        type: string
    type: object
  request.TaskInfo:
    properties:
      device:
        description: 设备
        type: string
      orderId:
        description: 订单号
        type: string
      password:
        description: 产品
        type: string
      procedure:
        description: 工序
        type: string
      workOrder:
        description: 工单
        type: string
    type: object
info:
  contact: {}
paths:
  /v1/notice/task/start:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.TaskInfo'
      produces:
      - application/json
      responses:
        "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:
                  items:
                    $ref: '#/definitions/model.ScheduleTask'
                  type: array
              type: object
      summary: 任务开启通知
      tags:
      - Base
swagger: "2.0"