From dd75b36c03049be232a94d97eff1c4a5cc751fb5 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 31 十月 2023 22:08:39 +0800
Subject: [PATCH] 支持设备ID切换

---
 model/request/task.go |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/model/request/task.go b/model/request/task.go
index afa11d5..f72f5d5 100644
--- a/model/request/task.go
+++ b/model/request/task.go
@@ -15,6 +15,7 @@
 type TaskList struct {
 	PageInfo
 	TaskMode constvar.TaskMode `json:"taskMode" form:"taskMode"`
+	DeviceID string            `json:"deviceID"`
 }
 
 type SendProcessParams struct {
@@ -34,10 +35,11 @@
 
 // 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