浏览代码

修复在线状态 #4

lijian 2 年之前
父节点
当前提交
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