zhangqian
2023-09-15 fc85945b34f5051635aacf90446e8061a683fb2f
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
package request
 
// TaskInfo 任务开启通知请求参数
type TaskInfo struct {
    OrderId   string `json:"orderId"`   // 订单号
    Product   string `json:"password"`  // 产品
    Procedure string `json:"procedure"` // 工序
    WorkOrder string `json:"workOrder"` // 工单
    Device    string `json:"device"`    // 设备
}
 
// TaskList 任务列表请求参数
type TaskList struct {
    PageInfo
}
 
type SendProcessParams struct {
    ProcedureId int `json:"procedureId" binding:"required"`
    Position    int `json:"position"`
}
 
type GetProductProgress struct {
    ProcedureId int `json:"procedureId" binding:"required"`
    Position    int `json:"position"`
}