From 8324f872ef3a4d0c978a9b1d062800c6a1701c12 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 01 十二月 2023 09:58:17 +0800
Subject: [PATCH] fix

---
 model/request/task.go |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/model/request/task.go b/model/request/task.go
index afa11d5..a54428d 100644
--- a/model/request/task.go
+++ b/model/request/task.go
@@ -22,22 +22,23 @@
 }
 
 type GetProductProgress struct {
-	Channel int32 `json:"channel"`
+	ProcedureId uint  `json:"procedureId"`
+	Channel     int32 `json:"channel"`
 }
 
 // ProcessModelList 宸ヨ壓鍙傛暟鍒楄〃璇锋眰鍙傛暟
 type ProcessModelList struct {
 	PageInfo
-	ProcedureId uint   `json:"procedureId" form:"procedureId" binding:"required"` //褰撳墠鐨勫伐搴廼d
-	Number      string `json:"number" form:"number"  binding:"required"`          //褰撳墠姝e湪浣跨敤鐨勫伐鑹哄弬鏁扮紪鍙�
+	ProcedureId uint `json:"procedureId" form:"procedureId" binding:"required"` //褰撳墠鐨勫伐搴廼d
 }
 
 // TaskListByChannel 鎸塩hannel杩斿洖浠诲姟鍒楄〃璇锋眰鍙傛暟
 type TaskListByChannel struct {
-	Offset  int       `json:"offset,omitempty" form:"offset"` //榛樿0
-	Limit   int       `json:"limit,omitempty" form:"limit"`   //榛樿3
-	Type    QueryType `json:"type,omitempty" form:"type"`     //1 鏈畬鎴� 2 浠婂ぉ鏈畬鎴� 3 宸插畬鎴�
-	Channel *int32    `json:"channel" form:"channel"`         //閫氶亾鍙枫�備笉浼犲彇鍏ㄩ儴鐨�
+	Offset   int       `json:"offset,omitempty" form:"offset"` //榛樿0
+	Limit    int       `json:"limit,omitempty" form:"limit"`   //榛樿3
+	Type     QueryType `json:"type,omitempty" form:"type"`     //1 鏈畬鎴� 2 浠婂ぉ鏈畬鎴� 3 宸插畬鎴�
+	Channel  *int32    `json:"channel" form:"channel"`         //閫氶亾鍙枫�備笉浼犲彇鍏ㄩ儴鐨�
+	DeviceID string    `json:"deviceID"`
 }
 
 type QueryType int

--
Gitblit v1.8.0