|  | @@ -74,7 +74,7 @@ export default defineFakeRoute([
 | 
	
		
			
				|  |  |        };
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  | -  // 用户管理-根据userId,获取对应角色id列表(userId:用户id)
 | 
	
		
			
				|  |  | +  // 用户管理-根据 userId 获取对应角色 id 列表(userId:用户id)
 | 
	
		
			
				|  |  |    {
 | 
	
		
			
				|  |  |      url: "/list-role-ids",
 | 
	
		
			
				|  |  |      method: "post",
 | 
	
	
		
			
				|  | @@ -1196,5 +1196,220 @@ export default defineFakeRoute([
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        };
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | +  },
 | 
	
		
			
				|  |  | +  // 系统日志-根据 id 查日志详情
 | 
	
		
			
				|  |  | +  {
 | 
	
		
			
				|  |  | +    url: "/system-logs-detail",
 | 
	
		
			
				|  |  | +    method: "post",
 | 
	
		
			
				|  |  | +    response: ({ body }) => {
 | 
	
		
			
				|  |  | +      if (body.id == 1) {
 | 
	
		
			
				|  |  | +        return {
 | 
	
		
			
				|  |  | +          id: 1,
 | 
	
		
			
				|  |  | +          level: 1,
 | 
	
		
			
				|  |  | +          module: "菜单管理",
 | 
	
		
			
				|  |  | +          url: "/menu",
 | 
	
		
			
				|  |  | +          method: "post",
 | 
	
		
			
				|  |  | +          ip: faker.internet.ipv4(),
 | 
	
		
			
				|  |  | +          address: "中国河南省信阳市",
 | 
	
		
			
				|  |  | +          system: "macOS",
 | 
	
		
			
				|  |  | +          browser: "Chrome",
 | 
	
		
			
				|  |  | +          takesTime: 10,
 | 
	
		
			
				|  |  | +          responseHeaders: {
 | 
	
		
			
				|  |  | +            traceId: "1495502411171032",
 | 
	
		
			
				|  |  | +            "Content-Type": "application/json",
 | 
	
		
			
				|  |  | +            Connection: "keep-alive",
 | 
	
		
			
				|  |  | +            "Keep-Alive": "timeout=5",
 | 
	
		
			
				|  |  | +            "Content-Length": 17019
 | 
	
		
			
				|  |  | +          },
 | 
	
		
			
				|  |  | +          responseBody: {
 | 
	
		
			
				|  |  | +            success: true,
 | 
	
		
			
				|  |  | +            data: [
 | 
	
		
			
				|  |  | +              {
 | 
	
		
			
				|  |  | +                parentId: 0,
 | 
	
		
			
				|  |  | +                id: 400,
 | 
	
		
			
				|  |  | +                menuType: 0,
 | 
	
		
			
				|  |  | +                title: "menus.hssysMonitor",
 | 
	
		
			
				|  |  | +                name: "PureMonitor",
 | 
	
		
			
				|  |  | +                path: "/monitor",
 | 
	
		
			
				|  |  | +                component: "",
 | 
	
		
			
				|  |  | +                rank: 11,
 | 
	
		
			
				|  |  | +                redirect: "",
 | 
	
		
			
				|  |  | +                icon: "ep:monitor",
 | 
	
		
			
				|  |  | +                extraIcon: "",
 | 
	
		
			
				|  |  | +                enterTransition: "",
 | 
	
		
			
				|  |  | +                leaveTransition: "",
 | 
	
		
			
				|  |  | +                activePath: "",
 | 
	
		
			
				|  |  | +                auths: "",
 | 
	
		
			
				|  |  | +                frameSrc: "",
 | 
	
		
			
				|  |  | +                frameLoading: true,
 | 
	
		
			
				|  |  | +                keepAlive: false,
 | 
	
		
			
				|  |  | +                hiddenTag: false,
 | 
	
		
			
				|  |  | +                showLink: true,
 | 
	
		
			
				|  |  | +                showParent: false
 | 
	
		
			
				|  |  | +              },
 | 
	
		
			
				|  |  | +              {
 | 
	
		
			
				|  |  | +                parentId: 400,
 | 
	
		
			
				|  |  | +                id: 401,
 | 
	
		
			
				|  |  | +                menuType: 0,
 | 
	
		
			
				|  |  | +                title: "menus.hsOnlineUser",
 | 
	
		
			
				|  |  | +                name: "OnlineUser",
 | 
	
		
			
				|  |  | +                path: "/monitor/online-user",
 | 
	
		
			
				|  |  | +                component: "monitor/online/index",
 | 
	
		
			
				|  |  | +                rank: null,
 | 
	
		
			
				|  |  | +                redirect: "",
 | 
	
		
			
				|  |  | +                icon: "ri:user-voice-line",
 | 
	
		
			
				|  |  | +                extraIcon: "",
 | 
	
		
			
				|  |  | +                enterTransition: "",
 | 
	
		
			
				|  |  | +                leaveTransition: "",
 | 
	
		
			
				|  |  | +                activePath: "",
 | 
	
		
			
				|  |  | +                auths: "",
 | 
	
		
			
				|  |  | +                frameSrc: "",
 | 
	
		
			
				|  |  | +                frameLoading: true,
 | 
	
		
			
				|  |  | +                keepAlive: false,
 | 
	
		
			
				|  |  | +                hiddenTag: false,
 | 
	
		
			
				|  |  | +                showLink: true,
 | 
	
		
			
				|  |  | +                showParent: false
 | 
	
		
			
				|  |  | +              },
 | 
	
		
			
				|  |  | +              {
 | 
	
		
			
				|  |  | +                parentId: 400,
 | 
	
		
			
				|  |  | +                id: 402,
 | 
	
		
			
				|  |  | +                menuType: 0,
 | 
	
		
			
				|  |  | +                title: "menus.hsLoginLog",
 | 
	
		
			
				|  |  | +                name: "LoginLog",
 | 
	
		
			
				|  |  | +                path: "/monitor/login-logs",
 | 
	
		
			
				|  |  | +                component: "monitor/logs/login/index",
 | 
	
		
			
				|  |  | +                rank: null,
 | 
	
		
			
				|  |  | +                redirect: "",
 | 
	
		
			
				|  |  | +                icon: "ri:window-line",
 | 
	
		
			
				|  |  | +                extraIcon: "",
 | 
	
		
			
				|  |  | +                enterTransition: "",
 | 
	
		
			
				|  |  | +                leaveTransition: "",
 | 
	
		
			
				|  |  | +                activePath: "",
 | 
	
		
			
				|  |  | +                auths: "",
 | 
	
		
			
				|  |  | +                frameSrc: "",
 | 
	
		
			
				|  |  | +                frameLoading: true,
 | 
	
		
			
				|  |  | +                keepAlive: false,
 | 
	
		
			
				|  |  | +                hiddenTag: false,
 | 
	
		
			
				|  |  | +                showLink: true,
 | 
	
		
			
				|  |  | +                showParent: false
 | 
	
		
			
				|  |  | +              },
 | 
	
		
			
				|  |  | +              {
 | 
	
		
			
				|  |  | +                parentId: 400,
 | 
	
		
			
				|  |  | +                id: 403,
 | 
	
		
			
				|  |  | +                menuType: 0,
 | 
	
		
			
				|  |  | +                title: "menus.hsOperationLog",
 | 
	
		
			
				|  |  | +                name: "OperationLog",
 | 
	
		
			
				|  |  | +                path: "/monitor/operation-logs",
 | 
	
		
			
				|  |  | +                component: "monitor/logs/operation/index",
 | 
	
		
			
				|  |  | +                rank: null,
 | 
	
		
			
				|  |  | +                redirect: "",
 | 
	
		
			
				|  |  | +                icon: "ri:history-fill",
 | 
	
		
			
				|  |  | +                extraIcon: "",
 | 
	
		
			
				|  |  | +                enterTransition: "",
 | 
	
		
			
				|  |  | +                leaveTransition: "",
 | 
	
		
			
				|  |  | +                activePath: "",
 | 
	
		
			
				|  |  | +                auths: "",
 | 
	
		
			
				|  |  | +                frameSrc: "",
 | 
	
		
			
				|  |  | +                frameLoading: true,
 | 
	
		
			
				|  |  | +                keepAlive: false,
 | 
	
		
			
				|  |  | +                hiddenTag: false,
 | 
	
		
			
				|  |  | +                showLink: true,
 | 
	
		
			
				|  |  | +                showParent: false
 | 
	
		
			
				|  |  | +              },
 | 
	
		
			
				|  |  | +              {
 | 
	
		
			
				|  |  | +                parentId: 400,
 | 
	
		
			
				|  |  | +                id: 404,
 | 
	
		
			
				|  |  | +                menuType: 0,
 | 
	
		
			
				|  |  | +                title: "menus.hsSystemLog",
 | 
	
		
			
				|  |  | +                name: "SystemLog",
 | 
	
		
			
				|  |  | +                path: "/monitor/system-logs",
 | 
	
		
			
				|  |  | +                component: "monitor/logs/system/index",
 | 
	
		
			
				|  |  | +                rank: null,
 | 
	
		
			
				|  |  | +                redirect: "",
 | 
	
		
			
				|  |  | +                icon: "ri:file-search-line",
 | 
	
		
			
				|  |  | +                extraIcon: "",
 | 
	
		
			
				|  |  | +                enterTransition: "",
 | 
	
		
			
				|  |  | +                leaveTransition: "",
 | 
	
		
			
				|  |  | +                activePath: "",
 | 
	
		
			
				|  |  | +                auths: "",
 | 
	
		
			
				|  |  | +                frameSrc: "",
 | 
	
		
			
				|  |  | +                frameLoading: true,
 | 
	
		
			
				|  |  | +                keepAlive: false,
 | 
	
		
			
				|  |  | +                hiddenTag: false,
 | 
	
		
			
				|  |  | +                showLink: true,
 | 
	
		
			
				|  |  | +                showParent: false
 | 
	
		
			
				|  |  | +              }
 | 
	
		
			
				|  |  | +            ]
 | 
	
		
			
				|  |  | +          },
 | 
	
		
			
				|  |  | +          requestHeaders: {
 | 
	
		
			
				|  |  | +            Accept: "application/json, text/plain, */*",
 | 
	
		
			
				|  |  | +            "Accept-Encoding": "gzip, deflate",
 | 
	
		
			
				|  |  | +            "Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8,eo;q=0.7",
 | 
	
		
			
				|  |  | +            Authorization: "Bearer eyJhbGciOiJIUzUxMiJ9.admin",
 | 
	
		
			
				|  |  | +            Connection: "keep-alive",
 | 
	
		
			
				|  |  | +            "Content-Length": 0,
 | 
	
		
			
				|  |  | +            Cookie:
 | 
	
		
			
				|  |  | +              "_ga=GA1.1.231800979.1704562367; _ga_M74ZHEQ1M1=GS1.1.1709299375.7.1.1709299476.0.0.0; Hm_lvt_6a7dac00248d3b6ad8479d7249bb29c5=1709032753,1709359575; Hm_lvt_23a157b7d0d9867f7a51e42628f052f5=1708960489,1709485849,1709879672; authorized-token={%22accessToken%22:%22eyJhbGciOiJIUzUxMiJ9.admin%22%2C%22expires%22:1919520000000}; multiple-tabs=true",
 | 
	
		
			
				|  |  | +            Host: "192.168.2.121:8848",
 | 
	
		
			
				|  |  | +            Origin: "http://192.168.2.121:8848",
 | 
	
		
			
				|  |  | +            Referer: "http://192.168.2.121:8848/",
 | 
	
		
			
				|  |  | +            "User-Agent":
 | 
	
		
			
				|  |  | +              "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
 | 
	
		
			
				|  |  | +            "X-Requested-With": "XMLHttpRequest"
 | 
	
		
			
				|  |  | +          },
 | 
	
		
			
				|  |  | +          requestBody: {
 | 
	
		
			
				|  |  | +            title: "系统监控"
 | 
	
		
			
				|  |  | +          },
 | 
	
		
			
				|  |  | +          traceId: "1495502411171032",
 | 
	
		
			
				|  |  | +          requestTime: new Date()
 | 
	
		
			
				|  |  | +        };
 | 
	
		
			
				|  |  | +      } else if (body.id == 2) {
 | 
	
		
			
				|  |  | +        return {
 | 
	
		
			
				|  |  | +          id: 2,
 | 
	
		
			
				|  |  | +          level: 0,
 | 
	
		
			
				|  |  | +          module: "地图",
 | 
	
		
			
				|  |  | +          url: "/get-map-info?plateNumber=豫A59778U",
 | 
	
		
			
				|  |  | +          method: "get",
 | 
	
		
			
				|  |  | +          ip: faker.internet.ipv4(),
 | 
	
		
			
				|  |  | +          address: "中国广东省深圳市",
 | 
	
		
			
				|  |  | +          system: "Windows",
 | 
	
		
			
				|  |  | +          browser: "Firefox",
 | 
	
		
			
				|  |  | +          takesTime: 1200,
 | 
	
		
			
				|  |  | +          responseHeaders: {
 | 
	
		
			
				|  |  | +            traceId: "2280443117103208",
 | 
	
		
			
				|  |  | +            "Content-Type": "application/json",
 | 
	
		
			
				|  |  | +            Connection: "keep-alive",
 | 
	
		
			
				|  |  | +            "Keep-Alive": "timeout=5",
 | 
	
		
			
				|  |  | +            "Content-Length": 28693
 | 
	
		
			
				|  |  | +          },
 | 
	
		
			
				|  |  | +          responseBody: {
 | 
	
		
			
				|  |  | +            plateNumber: "豫A59778U",
 | 
	
		
			
				|  |  | +            driver: "子骞",
 | 
	
		
			
				|  |  | +            orientation: 289,
 | 
	
		
			
				|  |  | +            lng: 113.8564,
 | 
	
		
			
				|  |  | +            lat: 34.373
 | 
	
		
			
				|  |  | +          },
 | 
	
		
			
				|  |  | +          requestHeaders: {
 | 
	
		
			
				|  |  | +            Accept: "application/json, text/plain, */*",
 | 
	
		
			
				|  |  | +            "Accept-Encoding": "gzip, deflate",
 | 
	
		
			
				|  |  | +            "Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8,eo;q=0.7",
 | 
	
		
			
				|  |  | +            Authorization: "Bearer eyJhbGciOiJIUzUxMiJ9.admin",
 | 
	
		
			
				|  |  | +            Connection: "keep-alive",
 | 
	
		
			
				|  |  | +            "Content-Length": 0,
 | 
	
		
			
				|  |  | +            Cookie:
 | 
	
		
			
				|  |  | +              "_ga=GA1.1.231800979.1704562367; _ga_M74ZHEQ1M1=GS1.1.1709299375.7.1.1709299476.0.0.0; Hm_lvt_6a7dac00248d3b6ad8479d7249bb29c5=1709032753,1709359575; Hm_lvt_23a157b7d0d9867f7a51e42628f052f5=1708960489,1709485849,1709879672; authorized-token={%22accessToken%22:%22eyJhbGciOiJIUzUxMiJ9.admin%22%2C%22expires%22:1919520000000}; multiple-tabs=true",
 | 
	
		
			
				|  |  | +            Host: "192.168.2.121:8848",
 | 
	
		
			
				|  |  | +            Origin: "http://192.168.2.121:8848",
 | 
	
		
			
				|  |  | +            Referer: "http://192.168.2.121:8848/",
 | 
	
		
			
				|  |  | +            "User-Agent":
 | 
	
		
			
				|  |  | +              "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
 | 
	
		
			
				|  |  | +            "X-Requested-With": "XMLHttpRequest"
 | 
	
		
			
				|  |  | +          },
 | 
	
		
			
				|  |  | +          requestBody: null,
 | 
	
		
			
				|  |  | +          traceId: "2280443117103208",
 | 
	
		
			
				|  |  | +          requestTime: new Date()
 | 
	
		
			
				|  |  | +        };
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  ]);
 |