From 6befd5f2fe9779883993b87f2e686885c147bc34 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 20 三月 2024 14:43:20 +0800 Subject: [PATCH] fix --- proto/user.proto | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/proto/user.proto b/proto/user.proto index 42d1243..8234322 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,8 +14,8 @@ string username = 2; int32 usertype = 3; string nickname = 4; - - // ... other fields + repeated string sub_user_ids = 5; + bool sub_user_queried = 6; } message UserRequest { @@ -26,5 +27,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