新增:新增系统监控/登录日志功能,优化日志表结构,并新增记录错误信息(非未知异常不记录异常详情,只记录错误信息)

This commit is contained in:
2023-01-17 23:16:37 +08:00
parent aa726fc6b6
commit c57383abad
28 changed files with 711 additions and 187 deletions

View File

@@ -22,6 +22,16 @@ const Monitor: AppRouteRecordRaw = {
roles: ['*'],
},
},
{
path: 'log/login',
name: 'LoginLog',
component: () => import('@/views/monitor/log/login/index.vue'),
meta: {
locale: 'menu.log.login.list',
requiresAuth: true,
roles: ['*'],
},
},
],
};

View File

@@ -2,7 +2,7 @@ import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';
const USER: AppRouteRecordRaw = {
path: '/system/user',
path: '/login/user',
name: 'user',
component: DEFAULT_LAYOUT,
meta: {