reactor:统一导出的 url 都是 export-excel
parent
c0e33d00d0
commit
b7244bae01
|
@ -61,7 +61,7 @@ export function deleteConfigList(ids: number[]) {
|
|||
|
||||
/** 导出参数 */
|
||||
export function exportConfig(params: any) {
|
||||
return requestClient.download('/infra/config/export', {
|
||||
return requestClient.download('/infra/config/export-excel', {
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
|
|
@ -168,7 +168,7 @@ export function deleteSpu(id: number) {
|
|||
|
||||
/** 导出商品 SPU Excel */
|
||||
export function exportSpu(params: PageParam) {
|
||||
return requestClient.download('/product/spu/export', { params });
|
||||
return requestClient.download('/product/spu/export-excel', { params });
|
||||
}
|
||||
|
||||
/** 获得商品 SPU 精简列表 */
|
||||
|
|
|
@ -57,5 +57,5 @@ export function deleteDictDataList(ids: number[]) {
|
|||
|
||||
// 导出字典类型数据
|
||||
export function exportDictData(params: any) {
|
||||
return requestClient.download('/system/dict-data/export', { params });
|
||||
return requestClient.download('/system/dict-data/export-excel', { params });
|
||||
}
|
||||
|
|
|
@ -51,5 +51,5 @@ export function deleteDictTypeList(ids: number[]) {
|
|||
|
||||
// 导出字典类型
|
||||
export function exportDictType(params: any) {
|
||||
return requestClient.download('/system/dict-type/export', { params });
|
||||
return requestClient.download('/system/dict-type/export-excel', { params });
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@ export function deletePostList(ids: number[]) {
|
|||
|
||||
/** 导出岗位 */
|
||||
export function exportPost(params: any) {
|
||||
return requestClient.download('/system/post/export', {
|
||||
return requestClient.download('/system/post/export-excel', {
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
|
|
@ -63,5 +63,5 @@ export function deleteSmsChannelList(ids: number[]) {
|
|||
|
||||
/** 导出短信渠道 */
|
||||
export function exportSmsChannel(params: any) {
|
||||
return requestClient.download('/system/sms-channel/export', { params });
|
||||
return requestClient.download('/system/sms-channel/export-excel', { params });
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ export function deleteUserList(ids: number[]) {
|
|||
|
||||
/** 导出用户 */
|
||||
export function exportUser(params: any) {
|
||||
return requestClient.download('/system/user/export', params);
|
||||
return requestClient.download('/system/user/export-excel', params);
|
||||
}
|
||||
|
||||
/** 下载用户导入模板 */
|
||||
|
|
Loading…
Reference in New Issue