mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-30 01:00:27 +08:00
增加操作日志查看界面
This commit is contained in:
@@ -10,9 +10,6 @@ service AdminService {
|
||||
// 登录
|
||||
rpc loginAdmin (LoginAdminRequest) returns (LoginAdminResponse);
|
||||
|
||||
// 创建操作日志
|
||||
rpc createAdminLog (CreateAdminLogRequest) returns (CreateAdminLogResponse);
|
||||
|
||||
// 检查管理员是否存在
|
||||
rpc checkAdminExists (CheckAdminExistsRequest) returns (CheckAdminExistsResponse);
|
||||
|
||||
@@ -47,17 +44,6 @@ message LoginAdminResponse {
|
||||
string message = 3;
|
||||
}
|
||||
|
||||
// 创建操作日志
|
||||
message CreateAdminLogRequest {
|
||||
string level = 1;
|
||||
string description = 2;
|
||||
string action = 3;
|
||||
string ip = 4;
|
||||
}
|
||||
|
||||
message CreateAdminLogResponse {
|
||||
}
|
||||
|
||||
// 检查管理员是否存在
|
||||
message CheckAdminExistsRequest {
|
||||
int64 adminId = 1;
|
||||
|
||||
Reference in New Issue
Block a user