|
@@ -277,6 +277,8 @@ class AddDetectionView(TemplateView):
|
|
Equipment_Info.objects.bulk_create(qs_list)
|
|
Equipment_Info.objects.bulk_create(qs_list)
|
|
print(2)
|
|
print(2)
|
|
return response.json(0)
|
|
return response.json(0)
|
|
|
|
+ else:
|
|
|
|
+ return response.json(10,'无设备开启')
|
|
|
|
|
|
|
|
|
|
# http://192.168.136.40:8077/detect/status?token=local&id=138001380001543918745881545&iSNotification=0
|
|
# http://192.168.136.40:8077/detect/status?token=local&id=138001380001543918745881545&iSNotification=0
|