Browse Source

修复查询家庭设备返回值问题

peng 3 năm trước cách đây
mục cha
commit
e86150d4f5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Controller/SensorGateway/GatewayFamilyRoomController.py

+ 1 - 1
Controller/SensorGateway/GatewayFamilyRoomController.py

@@ -313,7 +313,7 @@ class GatewayFamilyRoomView(View):
 
             device_room['gateways'] = gateways
             device_room['cameras'] = cameras
-            device_room['sort'] = sort
+            device_room['sort'] = list(sort)
             return response.json(0, device_room)
         except Exception as e:
             return response.json(500, repr(e))