fix: 意见反馈功能提交。

This commit is contained in:
tianyongbao
2026-07-14 08:05:24 +08:00
parent 3294695dec
commit 65239f57ba
4 changed files with 524 additions and 21 deletions

View File

@@ -0,0 +1,21 @@
import request from '@/utils/request'
import upload from '@/utils/upload'
// 提交意见反馈H5/小程序端)
export function submitFeedback(data) {
return request({
url: '/system/feedback/submit',
method: 'post',
data
})
}
// 上传反馈截图
export function uploadFeedbackImage(filePath) {
return upload({
url: '/file/upload',
filePath,
name: 'file',
formData: {}
})
}