adapt changes for SpiderList and NodeList

This commit is contained in:
Marvin Zhang
2019-02-16 22:56:58 +08:00
parent c9e24f1bc2
commit 622ba64130
11 changed files with 63 additions and 16 deletions

View File

@@ -5,6 +5,8 @@ from model.base import BaseModel
class Node(BaseModel):
_id = ObjectIdField()
node_ip = StringField()
node_name = StringField()
node_description = StringField()
ip = StringField()
port = IntField()
name = StringField()
description = StringField()
status = IntField()