Explorar o código

修复在线状态 #4

lijian %!s(int64=2) %!d(string=hai) anos
pai
achega
9fe8eb8af2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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