From 369026325416d187b7b0a0fbe8b5fd1895515bbb Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 22 八月 2023 18:18:15 +0800
Subject: [PATCH] 获取工艺参数用nsq方式获取

---
 nsq/caller.go |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/nsq/caller.go b/nsq/caller.go
index 36839cc..59c6848 100644
--- a/nsq/caller.go
+++ b/nsq/caller.go
@@ -42,6 +42,9 @@
 		case data := <-ReceivedMessageChan:
 			if data.Topic == caller.ResponseTopic {
 				return json.Unmarshal(data.Message, &output)
+			} else {
+				//鎶婃秷鎭斁鍥炲幓
+				ReceivedMessageChan <- data
 			}
 		}
 	}

--
Gitblit v1.8.0