mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-04 07:40:25 +08:00
优化代码
This commit is contained in:
@@ -63,7 +63,7 @@ func (this *NodeValueService) ListNodeValues(ctx context.Context, req *pb.ListNo
|
||||
pbValues := []*pb.NodeValue{}
|
||||
for _, value := range values {
|
||||
pbValues = append(pbValues, &pb.NodeValue{
|
||||
ValueJSON: []byte(value.Value),
|
||||
ValueJSON: value.Value,
|
||||
CreatedAt: int64(value.CreatedAt),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user