From 4f6d9b1e7284831d8225ec207f0fa83e36b09b9d Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 12 十月 2023 14:28:42 +0800 Subject: [PATCH] crm开启登录认证,增加菜单权限认证 --- 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