SystemLog.js
747 Bytes
import axiosInstance from "@/Request/PublicAxiosInstance"
import {filterEmptyValueInObject} from "@/PublicUtil/PublicUtil"
class SystemLog {
getLogSelect(data) {
return axiosInstance.request(
{
method: 'GET',
url: `/logs/select`,
params: filterEmptyValueInObject(
data
)
}
)
}
getLogLimits(data) {
return axiosInstance.request(
{
method: 'GET',
url: `/logs/limits`,
params: filterEmptyValueInObject(
data
)
}
)
}
}
const SystemLogApi = new SystemLog()
export default SystemLogApi