运行日志显示未读的日志数量

This commit is contained in:
GoEdgeLab
2021-10-15 12:54:31 +08:00
parent 1f4322bb69
commit 6b380c5af6

View File

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