可以修复单页或者全部服务日志

This commit is contained in:
刘祥超
2022-03-23 17:31:11 +08:00
parent b90e684580
commit 1becfdcd67
2 changed files with 203 additions and 75 deletions

View File

@@ -20,6 +20,9 @@ service NodeLogService {
// 设置日志为已修复
rpc fixNodeLogs (FixNodeLogsRequest) returns (RPCSuccess);
// 设置所有日志为已修复
rpc fixAllNodeLogs (FixAllNodeLogsRequest) returns (RPCSuccess);
// 计算未读的日志数量
rpc countAllUnreadNodeLogs(CountAllUnreadNodeLogsRequest) returns (RPCCountResponse);
@@ -52,6 +55,8 @@ message CountNodeLogsRequest {
int64 originId = 8;
bool isUnread = 9;
string tag = 10;
int32 fixedState = 12;
bool allServers = 13; // 是否获取所有服务相关的日志
}
// 列出单页日志
@@ -83,6 +88,11 @@ message FixNodeLogsRequest {
repeated int64 nodeLogIds = 1;
}
// 设置所有日志为已修复
message FixAllNodeLogsRequest {
}
// 计算未读的日志数量
message CountAllUnreadNodeLogsRequest {
}