From b8bb13639cc0dafff4c4b29131dfac33be07a1cb Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 16 十月 2023 14:48:37 +0800
Subject: [PATCH] aps grpc env
---
proto/user.proto | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/proto/user.proto b/proto/user.proto
index 42d1243..50e32f3 100644
--- a/proto/user.proto
+++ b/proto/user.proto
@@ -6,6 +6,7 @@
service UserService {
rpc SyncUser(UserRequest) returns (UserResponse);
+ rpc UserMenuCheck(CheckRequest) returns (CheckResponse);
}
message User {
@@ -13,7 +14,6 @@
string username = 2;
int32 usertype = 3;
string nickname = 4;
-
// ... other fields
}
@@ -26,5 +26,15 @@
string message = 2;
repeated User List = 3;
int64 total = 4;
+}
+message CheckRequest {
+ string apiPath = 1; //鎺ュ彛璺緞
+ int32 SystemType = 2; //绯荤粺鍚嶇О
+}
+
+message CheckResponse {
+ int32 code = 1;
+ string message = 2;
+ bool result = 3;
}
--
Gitblit v1.8.0