日志记录逻辑

This commit is contained in:
2019-04-10 07:04:12 +08:00
committed by JerryYan
parent e066048e9f
commit e77fa5d6ad
6 changed files with 14 additions and 9 deletions

View File

@ -32,6 +32,7 @@ def readConfig():
@app.route("/config", methods=["POST"])
def writeConfig():
# TODO : 完善
Common.appendOperation("更新配置")
Common.reloadConfig()
return jsonify({"message":"ok","code":200,"status":0,"data":request.form})