82网页数据存储以及屏蔽设备
This commit is contained in:
@ -145,7 +145,7 @@ def logs():
|
|||||||
data = ErrorLog.query.all()
|
data = ErrorLog.query.all()
|
||||||
return jsonify([{"source": l.source, "name": l.name, "reason": l.reason, "offset": l.offset,
|
return jsonify([{"source": l.source, "name": l.name, "reason": l.reason, "offset": l.offset,
|
||||||
"latest_time": l.latest_time, "check_time": l.check_time, "content": l.content} for l in data])
|
"latest_time": l.latest_time, "check_time": l.check_time, "content": l.content} for l in data])
|
||||||
#
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app.run(debug=True, port=5000)
|
app.run(debug=True, port=5000)
|
||||||
Reference in New Issue
Block a user