export const queryLogs = ({ Page, PageSize } = {}) => ({
    method: 'get',
    url: 'logs/auth',
    params: { Page, PageSize }
});

export const clearLogs = () => ({
    method: 'delete',
    url: 'logs/auth'
});

export const queryLogs = (params) => ({
    method: 'get',
    url: 'logs/auth',
    params
});

export const clearLogs = () => ({
    method: 'delete',
    url: 'logs/auth'
});

Allow queryLogs to be without params
Allow queryLogs to be without params
