From 532831c91c6898f7cd402d9bfb9a35d7573afccf Mon Sep 17 00:00:00 2001
From: gongshangguo <gongshangguo@admin.com>
Date: 星期三, 02 三月 2022 16:52:05 +0800
Subject: [PATCH] 业务端口类型

---
 aiotProto/aiot/aiot_business.proto |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/aiotProto/aiot/aiot_business.proto b/aiotProto/aiot/aiot_business.proto
index 7ad9ea9..94d80be 100644
--- a/aiotProto/aiot/aiot_business.proto
+++ b/aiotProto/aiot/aiot_business.proto
@@ -4,13 +4,19 @@
 
 import "aiot_common.proto";
 
+enum RequestType{
+    Async = 0;
+    sync = 1;
+}
+
 // 璇锋眰鐨刡ody浣�
 message BusinessReq {
     string topic = 1;
     string authorization = 2;
     string ip = 3;
     string port = 4;
-    bytes req = 5;
+    RequestType type = 5;
+    bytes req = 6;
 }
 
 // 鍝嶅簲鐨刡ody浣�

--
Gitblit v1.8.0