fix(api): 修改评论图片上传接口为支持FormData格式

refactor(Item.vue): 调整样式和布局,优化图片高度和文本显示

feat(details/[id].vue): 实现图片上传配置获取和FormData上传功能
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-09-08 17:16:40 +08:00
parent 0d111436af
commit 62aafa10ac
66 changed files with 475 additions and 433 deletions

View File

@@ -105,9 +105,9 @@ export const commentReportHttp = query => {
}
// 评论相关 - 上传图片
export const commonUploadHttp = query => {
return Http.post("https://oss.gter.net/upload/base64", query)
}
export const commonUploadHttp = (url, query) => Http.postV2(url, query);
export const commonUploadConfigHttp = (query) => Http.post("https://api.gter.net/v1/config/upload?type=comment", query);
// 数据操作 - 获取投币配置,我的寄托币数量
export const coinHttp = query => {