mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-03 04:10:34 +08:00
可以修复单页或者全部服务日志
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user