Bläddra i källkod

修复在线状态 #4

lijian 2 år sedan
förälder
incheckning
9fe8eb8af2
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      services/apiprovider/actions.go

+ 1 - 1
services/apiprovider/actions.go

@@ -120,7 +120,7 @@ func GetDeviceCurrentStatus(device *models.Device, config *productconfig.Product
 	server.Log.Printf("ACTION GetDeviceCurrentStatus, identifier:: %v", device.DeviceIdentifier)
 
 	statusargs := rpcs.ArgsGetStatus{
-		Id: device.RecordId,
+		Id: device.DeviceIdentifier,
 	}
 	statusreply := rpcs.ReplyGetStatus{}
 	//opentracing