2026-01-12 11:06:54 +08:00
|
|
|
import createAxios from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
// 更新问题状态
|
|
|
|
|
export function auditFeedBack(data: any) {
|
|
|
|
|
return createAxios({
|
|
|
|
|
url: '/cs-system-boot/feedback/auditFeedBack',
|
|
|
|
|
method: 'post',
|
|
|
|
|
params: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//下载文件
|
|
|
|
|
export function downLoadFile(filePath: any) {
|
|
|
|
|
return createAxios({
|
|
|
|
|
url: '/system-boot/file/download',
|
|
|
|
|
method: 'get',
|
|
|
|
|
responseType: 'blob',
|
|
|
|
|
params: { filePath: filePath }
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//获取文件的一个短期url
|
|
|
|
|
export function getFileUrl(filePath: any) {
|
|
|
|
|
return createAxios({
|
|
|
|
|
url: '/system-boot/file/getFileUrl',
|
|
|
|
|
method: 'get',
|
|
|
|
|
// responseType: 'blob',
|
|
|
|
|
params: { filePath: filePath }
|
|
|
|
|
})
|
2024-09-11 19:39:55 +08:00
|
|
|
}
|