增加操作日志查看界面

This commit is contained in:
刘祥超
2020-11-10 20:31:08 +08:00
parent 0e44a20d63
commit d3e6e757a5
6 changed files with 1079 additions and 383 deletions

View File

@@ -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;