优化代码

This commit is contained in:
刘祥超
2022-03-22 22:11:32 +08:00
parent 30bfbdc01e
commit f958c57984
68 changed files with 148 additions and 148 deletions

View File

@@ -84,8 +84,8 @@ func (this *NodeLogService) ListNodeLogs(ctx context.Context, req *pb.ListNodeLo
ServerId: int64(log.ServerId),
CreatedAt: int64(log.CreatedAt),
Count: types.Int32(log.Count),
IsFixed: log.IsFixed == 1,
IsRead: log.IsRead == 1,
IsFixed: log.IsFixed,
IsRead: log.IsRead,
})
}
return &pb.ListNodeLogsResponse{NodeLogs: result}, nil