From 675c5351b004b77844b02f7d023c60598276e01c Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期日, 16 六月 2019 14:23:19 +0800
Subject: [PATCH] fix sdk.enabled type to bool

---
 protomsg.proto |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/protomsg.proto b/protomsg.proto
index 38ec79c..ad64dca 100644
--- a/protomsg.proto
+++ b/protomsg.proto
@@ -123,7 +123,7 @@
 
 message GroupRule {
     string group_id = 1;
-    repeated GroupRule rules = 2;
+    repeated Rule rules = 2;
 }
 
 message Rule {
@@ -152,16 +152,17 @@
     string create_time = 7;
     string update_time = 8;
     string create_by = 9;
-    string enabled = 10;//鏄惁鍚敤
-    string del_flag = 11;//鏄惁鍒犻櫎
+    bool enabled = 10;//鏄惁鍚敤
+    int32 del_flag = 11;//鏄惁鍒犻櫎
 }
 
 //SdkArg struct
 message SdkArg {
-    string alias = 2;//鍙傛暟鍒悕
-    string name = 3;//鍙傛暟鍚嶇О
-    string type = 4;//鍙傛暟绫诲瀷
-    bool must = 5;//鍙傛暟鏄惁蹇呭~
+    string alias = 1;//鍙傛暟鍒悕
+    string name = 2;//鍙傛暟鍚嶇О
+    string type = 3;//鍙傛暟绫诲瀷
+    bool must = 4;//鍙傛暟鏄惁蹇呭~
+    string unit = 5;//鍗曚綅
     string range = 6;//鍙傛暟鐨勮寖鍥�
     int32 sort = 7;//鍙傛暟鎺掑簭
 }

--
Gitblit v1.8.0