Browse Source

退出登录记录日志

locky 1 year ago
parent
commit
ac6f5d265a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/UserController.py

+ 1 - 1
Controller/UserController.py

@@ -335,7 +335,7 @@ class LogoutView(TemplateView):
                     'status': 200,
                     'status': 200,
                     'time': now_time,
                     'time': now_time,
                     'content': json.dumps(content),
                     'content': json.dumps(content),
-                    'url': 'equipment/delete',
+                    'url': 'account/logout',
                     'operation': '{}退出登录,m_code:{}'.format(username, m_code),
                     'operation': '{}退出登录,m_code:{}'.format(username, m_code),
                 }
                 }
                 LogModel.objects.create(**log)
                 LogModel.objects.create(**log)