From 520466e7dd62557ea785ceb2805daec6bca3c830 Mon Sep 17 00:00:00 2001 From: zhuyiyi <649091362@qq.com> Date: Fri, 5 Sep 2025 14:41:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=9C=A8=E7=BA=BF=E6=9F=A5?= =?UTF-8?q?=E7=9C=8BPDF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/js/ossUploader.js | 1 - src/main/webapp/views/product/coupon.jsp | 38 ++++++++++++++----- .../views/system/report/manage/addQuality.jsp | 2 + .../views/system/report/manage/quality.jsp | 7 ++++ .../views/system/report/reveal/quality.jsp | 7 +++- 5 files changed, 43 insertions(+), 12 deletions(-) diff --git a/src/main/webapp/js/ossUploader.js b/src/main/webapp/js/ossUploader.js index b85771e..a08cf6e 100644 --- a/src/main/webapp/js/ossUploader.js +++ b/src/main/webapp/js/ossUploader.js @@ -16,7 +16,6 @@ async function uploadFile(file) { // 您可以通过自定义文件名(例如exampleobject.txt)或文件完整路径(例如exampledir/exampleobject.txt)的形式实现将数据上传到当前Bucket或Bucket中的指定目录。 // data对象可以自定义为file对象、Blob数据或者OSS Buffer。 const options = { - headers: {"Content-Type": "text/plain"}, }; let index = layer.load(); const result = await client.put(name, file, options); diff --git a/src/main/webapp/views/product/coupon.jsp b/src/main/webapp/views/product/coupon.jsp index b615dea..d31463d 100644 --- a/src/main/webapp/views/product/coupon.jsp +++ b/src/main/webapp/views/product/coupon.jsp @@ -81,7 +81,7 @@