From 4630cbf64d1d4f33376efaaec7b4fcb90b01bf05 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期日, 07 四月 2024 11:55:17 +0800
Subject: [PATCH] 采购单修改2
---
proto/user.proto | 36 +++++++++++++++++++++++++++++++++---
1 files changed, 33 insertions(+), 3 deletions(-)
diff --git a/proto/user.proto b/proto/user.proto
index 42d1243..5c1ea1b 100644
--- a/proto/user.proto
+++ b/proto/user.proto
@@ -6,6 +6,8 @@
service UserService {
rpc SyncUser(UserRequest) returns (UserResponse);
+ rpc UserMenuCheck(CheckRequest) returns (CheckResponse);
+ rpc SyncAllUser(AllUserRequest) returns (AllUserResponse);
}
message User {
@@ -13,8 +15,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 +28,33 @@
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;
+}
+
+message AllUserRequest {
+ int32 SystemType = 1; //绯荤粺鍚嶇О
+}
+
+message UserSimple {
+ string uuid = 1;
+ string username = 2;
+ int32 usertype = 3;
+ string nickname = 4;
+}
+
+message AllUserResponse {
+ int32 code = 1;
+ string message = 2;
+ repeated UserSimple List = 3;
+ int64 total = 4;
+}
\ No newline at end of file
--
Gitblit v1.8.0