From 6c31643efa07274245b6fe4ef95f39c1460f4b70 Mon Sep 17 00:00:00 2001
From: gongshangguo <gongshangguo@admin.com>
Date: 星期三, 02 三月 2022 16:54:01 +0800
Subject: [PATCH] 业务端口类型
---
aiotProto/aiot/aiot_business.proto | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/aiotProto/aiot/aiot_business.proto b/aiotProto/aiot/aiot_business.proto
index 713cc6c..94d80be 100644
--- a/aiotProto/aiot/aiot_business.proto
+++ b/aiotProto/aiot/aiot_business.proto
@@ -4,11 +4,19 @@
import "aiot_common.proto";
+enum RequestType{
+ Async = 0;
+ sync = 1;
+}
+
// 璇锋眰鐨刡ody浣�
message BusinessReq {
string topic = 1;
string authorization = 2;
- bytes req = 3;
+ string ip = 3;
+ string port = 4;
+ RequestType type = 5;
+ bytes req = 6;
}
// 鍝嶅簲鐨刡ody浣�
--
Gitblit v1.8.0