zhangdongming %!s(int64=3) %!d(string=hai) anos
pai
achega
bb0e685fe0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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))