新增日志访问状态,修改日志时间bug,修改权限编辑返回拼写错误

This commit is contained in:
mkg
2021-03-23 08:48:24 +08:00
parent 51f1201bca
commit 94b05256b3
5 changed files with 28 additions and 11 deletions
+2 -2
View File
@@ -80,5 +80,5 @@ def edit(id):
def update():
res = update_power(request.json)
if not res:
return jsonify(success=False, msg="更新角色失败")
return jsonify(success=True, msg="更新角色成功")
return jsonify(success=False, msg="更新权限失败")
return jsonify(success=True, msg="更新权限成功")