🐛 修复 dictType 和 dictData 在 IDEA 报错的问题
This commit is contained in:
parent
9a49a8ea40
commit
7319d24cbc
@ -30,7 +30,8 @@ export const updateDictDataApi = (data: DictDataVO) => {
|
|||||||
export const deleteDictDataApi = (id: number) => {
|
export const deleteDictDataApi = (id: number) => {
|
||||||
return request.delete({ url: '/system/dict-data/delete?id=' + id })
|
return request.delete({ url: '/system/dict-data/delete?id=' + id })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 导出字典类型数据
|
// 导出字典类型数据
|
||||||
export const exportDictDataApi = (params: DictDataExportReqVO) => {
|
export const exportDictDataApi = (params: DictDataExportReqVO) => {
|
||||||
return request.get({ url: '/system/dict-data/export', params })
|
return request.download({ url: '/system/dict-data/export', params })
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,8 @@ export const updateDictTypeApi = (data: DictTypeVO) => {
|
|||||||
export const deleteDictTypeApi = (id: number) => {
|
export const deleteDictTypeApi = (id: number) => {
|
||||||
return request.delete({ url: '/system/dict-type/delete?id=' + id })
|
return request.delete({ url: '/system/dict-type/delete?id=' + id })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 导出字典类型
|
// 导出字典类型
|
||||||
export const exportDictTypeApi = (params: DictTypeExportReqVO) => {
|
export const exportDictTypeApi = (params: DictTypeExportReqVO) => {
|
||||||
return request.get({ url: '/system/dict-type/export', params })
|
return request.download({ url: '/system/dict-type/export', params })
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user