From 14fc2f577e2c0b7b146c1a430e9438f317ad5b0c Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 23 九月 2023 14:14:27 +0800 Subject: [PATCH] 任务接收增加channel字段,postion字段改为channel --- model/request/task.go | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/model/request/task.go b/model/request/task.go index 68b9357..a3d78b6 100644 --- a/model/request/task.go +++ b/model/request/task.go @@ -8,3 +8,18 @@ WorkOrder string `json:"workOrder"` // 宸ュ崟 Device string `json:"device"` // 璁惧 } + +// TaskList 浠诲姟鍒楄〃璇锋眰鍙傛暟 +type TaskList struct { + PageInfo +} + +type SendProcessParams struct { + ProcedureId int `json:"procedureId" binding:"required"` + Channel int32 `json:"channel"` +} + +type GetProductProgress struct { + ProcedureId int `json:"procedureId" binding:"required"` + Channel int32 `json:"channel"` +} -- Gitblit v1.8.0