lijian 2 лет назад
Родитель
Сommit
9fe8eb8af2
1 измененных файлов с 1 добавлено и 1 удалено
  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