#monotoring_detail

This commit is contained in:
xieshen 2020-11-11 09:18:04 +08:00
parent fa85962618
commit c3c716d679
3 changed files with 23 additions and 0 deletions

17
.project Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>spug_expand</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.python.pydev.PyDevBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.python.pydev.pythonNature</nature>
</natures>
</projectDescription>

5
.pydevproject Normal file
View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse-pydev version="1.0"?><pydev_project>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python interpreter</pydev_property>
</pydev_project>

View File

@ -15,6 +15,7 @@ def monotoring(request):
res = [] res = []
for r in row: for r in row:
o = dict() o = dict()
o['id'] = r[0]
o['name'] = r[1] o['name'] = r[1]
if r[2] == '1': if r[2] == '1':
o['type'] = '站点检测' o['type'] = '站点检测'