zhangqian
2023-08-15 f5461743f6542e6b4a793117e05777769f9c3377
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
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:
        type: integer
      data: {}
      msg:
        type: string
    type: object
  model.User:
    properties:
      companyCity:
        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:
        type: integer
      systemName:
        type: string
      updateAt:
        description: 更新时间
        type: string
      userType:
        $ref: '#/definitions/constvar.UserType'
      username:
        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
  response.LoginResponse:
    properties:
      expiresAt:
        type: integer
      token:
        type: string
      user:
        $ref: '#/definitions/model.User'
    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:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.LoginResponse'
              type: object
      summary: 任务开启通知
      tags:
      - Base
swagger: "2.0"