mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-07 02:20:24 +08:00
运行日志显示未读的日志数量
This commit is contained in:
@@ -85,6 +85,7 @@ func (this *NodeLogService) ListNodeLogs(ctx context.Context, req *pb.ListNodeLo
|
||||
CreatedAt: int64(log.CreatedAt),
|
||||
Count: types.Int32(log.Count),
|
||||
IsFixed: log.IsFixed == 1,
|
||||
IsRead: log.IsRead == 1,
|
||||
})
|
||||
}
|
||||
return &pb.ListNodeLogsResponse{NodeLogs: result}, nil
|
||||
|
||||
Reference in New Issue
Block a user