From 1767ce81ece365d463e134b2c9cc3d71205f70ce Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 26 九月 2023 15:07:35 +0800 Subject: [PATCH] 任务数量只返回未开始的新任务 --- 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