Blame view

src/api/xtjk.js 955 Bytes
1 2 3 4 5
/*
 * @Description: 
 * @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
  })
}
蔡俊立 committed
20

21 22 23 24 25 26

/**
 * @description: 系统监控 -获取操作日志列表
 * @param {*} data
 * @author: renchao
 */
蔡俊立 committed
27 28 29 30
export function getOperationLogList (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/xtjk/view/getOperationLogList',
    method: 'post',
任超 committed
31
    data
蔡俊立 committed
32 33
  })
}
蔡俊立 committed
34

35 36 37 38
/**
 * @description: 系统监控 -主机监控
 * @author: renchao
 */
蔡俊立 committed
39 40 41
export function getServerInfo () {
  return request({
    url: SERVER.SERVERAPI + '/rest/xtjk/view/getServerInfo',
任超 committed
42
    method: 'get'
蔡俊立 committed
43 44
  })
}