From 7276ab65576ec73b439a40d7f1a3035a534b968c Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 20 十月 2023 19:12:40 +0800
Subject: [PATCH] 停止消费时关闭tcp连接

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

diff --git a/model/common/common.go b/model/common/common.go
index 9df61af..2f8c2f4 100644
--- a/model/common/common.go
+++ b/model/common/common.go
@@ -107,11 +107,8 @@
 	}
 	ResponseProcessParams struct {
 		Number    string                 `json:"number"`    //宸ヨ壓妯″瀷缂栧彿
-		OrderId   string                 `json:"orderId"`   //璁㈠崟id
 		Product   string                 `json:"product"`   //浜у搧鍚嶇О
 		Procedure string                 `json:"procedure"` //宸ュ簭
-		WorkOrder string                 `json:"workOrder"` //宸ュ崟
-		Device    string                 `json:"device"`    //璁惧
 		Params    string                 `json:"params"`
 		ParamsMap map[string]interface{} `json:"paramsMap"`
 		DeviceId  string                 `json:"deviceId" gorm:"-"` //鐢ㄤ簬杩囨护鑾峰彇nsq娑堟伅
@@ -142,6 +139,7 @@
 
 const (
 	PullDataTypeProcessModel = "process_model"
+	PullDataTypeDevice       = "device"
 )
 
 // MsgPullDataRequest 鎷夊彇浜戠鏁版嵁

--
Gitblit v1.8.0