reactor:统一导出的 url 都是 export-excel

This commit is contained in:
YunaiV
2025-06-16 09:08:32 +08:00
parent 130a839180
commit f8d99c593d
7 changed files with 7 additions and 7 deletions

View File

@@ -54,6 +54,6 @@ export const deleteDictDataList = (ids: number[]) => {
}
// 导出字典数据
export const exportDictData = (params) => {
export const exportDictData = (params: any) => {
return request.download({ url: '/system/dict-data/export-excel', params })
}

View File

@@ -21,5 +21,5 @@ export const getLoginLogPage = (params: PageParam) => {
// 导出登录日志
export const exportLoginLog = (params) => {
return request.download({ url: '/system/login-log/export', params })
return request.download({ url: '/system/login-log/export-excel', params })
}

View File

@@ -26,5 +26,5 @@ export const getOperateLogPage = (params: PageParam) => {
}
// 导出操作日志
export const exportOperateLog = (params: any) => {
return request.download({ url: '/system/operate-log/export', params })
return request.download({ url: '/system/operate-log/export-excel', params })
}

View File

@@ -49,7 +49,7 @@ export const deleteUserList = (ids: number[]) => {
// 导出用户
export const exportUser = (params: any) => {
return request.download({ url: '/system/user/export', params })
return request.download({ url: '/system/user/export-excel', params })
}
// 下载用户导入模板