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

+ 1 - 1
Controller/SensorGateway/GatewayDeviceController.py

@@ -173,7 +173,7 @@ class GatewayDeviceView(View):
                     gateway_sub_qs = GatewaySubDevice.objects.filter(id__in=ids)
                     if gateway_sub_qs.exists():
                         gateway_sub_qs.delete()
-            return response.json(0)
+                return response.json(0)
         except Exception as e:
             print(e)
             return response.json(177, repr(e))