From cab6eea89a0d82710369604ecb51f1cdb122e433 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 19 十月 2023 17:26:34 +0800
Subject: [PATCH] fix

---
 model/response/common.go |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/model/response/common.go b/model/response/common.go
index 788dd40..dae30ae 100644
--- a/model/response/common.go
+++ b/model/response/common.go
@@ -1,6 +1,7 @@
 package response
 
 import (
+	"apsClient/conf"
 	"apsClient/model"
 	"apsClient/model/common"
 )
@@ -23,15 +24,18 @@
 	Order     *model.Order
 	Procedure *model.Procedures
 
-	Position              int //褰撳墠浠诲姟鍦ㄨ澶囩鍑犱釜浣嶇疆
+	Channel               int32 //褰撳墠浠诲姟鍦ㄨ澶囩鍑犱釜閫氶亾
 	AllProcedures         []string
 	CurrentProcedureIndex int
+	CanStarted            bool //鏄惁鍙互寮�濮嬬敓浜�
 }
 
 type TaskResponse struct {
-	Tasks     []*TaskData
-	TaskCount int64
-	Workers   []*common.ProcedureWorker `json:"workers"` // 浜哄憳鍒楄〃
+	Tasks         []*TaskData               //浠诲姟鍒楄〃
+	TaskCount     int64                     //浠诲姟鏁伴噺
+	Workers       []*common.ProcedureWorker `json:"workers"` // 浜哄憳鍒楄〃
+	Prompt        conf.Prompt               //鎻愮ず璇�
+	ChannelAmount int                       //閫氶亾鏁伴噺
 }
 
 type Config struct {
@@ -60,3 +64,8 @@
 	CountDownMinute int64 //鍊掕鏃� 鍒�
 	ShowCountDown   bool  //鏄惁灞曠ず鍊掕鏃�
 }
+
+type Message struct {
+	Event string
+	Data  interface{}
+}

--
Gitblit v1.8.0