manage.js 1.11 KB
import request from '@/plugin/axios'

/**
 * 获取操作日志
 */
export function getLogData(data) {
    return request({
        url: '/system/manage/operationLog',
        method: 'post',
        data: data,
    })
}


/**
 * 获取错误日志
 */
export function getErrorLog() {
    return request({
        url: '/system/manage/getErrorLog',
        method: 'post',
    })
}

/**
 * 获取所有字典
 */
export function getAllDdic(data) {
    return request({
        url: '/system/dictionary/getAllDdic',
        method: 'post',
        data: data,
    })
}

/**
 * 添加字典节点
 */
export function addDdicNode(data) {
    return request({
        url: '/system/dictionary/addDdicNode',
        method: 'post',
        data: data,
    })
}

/**
 * 删除字典节点
 */
export function deleteDdicNode(data) {
    return request({
        url: '/system/dictionary/deleteDdicNode',
        method: 'post',
        data: data,
    })
}

/**
 * 添加字典节点
 */
export function editDdicNode(data) {
    return request({
        url: '/system/dictionary/editDdicNode',
        method: 'post',
        data: data,
    })
}