Blame view

src/api/view.js 964 Bytes
1
/*
2
 * @Description: 系统监控
3 4 5
 * @Autor: renchao
 * @LastEditTime: 2023-05-16 16:07:10
 */
蔡俊立 committed
6
import request from '@/utils/request'
7
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 9 10 11 12
/**
 * @description: 系统监控 -获取错误日志列表
 * @param {*} data
 * @author: renchao
 */
蔡俊立 committed
13 14 15 16
export function getErrorLogList (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/xtjk/view/getErrorLogList',
    method: 'post',
任超 committed
17
    data
蔡俊立 committed
18 19
  })
}
20 21 22 23 24
/**
 * @description: 系统监控 -获取操作日志列表
 * @param {*} data
 * @author: renchao
 */
蔡俊立 committed
25 26 27 28
export function getOperationLogList (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/xtjk/view/getOperationLogList',
    method: 'post',
任超 committed
29
    data
蔡俊立 committed
30 31
  })
}
32 33 34 35
/**
 * @description: 系统监控 -主机监控
 * @author: renchao
 */
蔡俊立 committed
36 37 38
export function getServerInfo () {
  return request({
    url: SERVER.SERVERAPI + '/rest/xtjk/view/getServerInfo',
任超 committed
39
    method: 'get'
蔡俊立 committed
40 41
  })
}