From cb2f80a627413d6dda5b9071a2711cb03964ed15 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期一, 25 九月 2023 10:06:55 +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