|
@@ -424,6 +424,7 @@ class AgentDeviceView(View):
|
|
|
'updated_time': obj.updated_time,
|
|
|
'device_mac': bind.device_mac,
|
|
|
'device_status': bind.status,
|
|
|
+ 'bind_time': bind.created_time,
|
|
|
})
|
|
|
else:
|
|
|
result_list.append({
|
|
@@ -436,6 +437,7 @@ class AgentDeviceView(View):
|
|
|
'updated_time': obj.updated_time,
|
|
|
'device_mac': '',
|
|
|
'device_status': None,
|
|
|
+ 'bind_time': None,
|
|
|
})
|
|
|
|
|
|
return response.json(0, {
|