lsc 2 tháng trước cách đây
mục cha
commit
f7f4b2518d
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      js/Common/uploadR2R.js

+ 1 - 2
js/Common/uploadR2R.js

@@ -38,8 +38,7 @@ window.uploadFile = async function ({ file, uuid, userid, folderid, moFolderid }
     const res2 = await fetch('http://10.3.16.166:7004/file/addFile', {
       method: 'POST',
       headers: {
-        'Accept': 'application/json',
-        'Content-Type': 'application/json;charset=UTF-8'
+        'Content-Type': 'application/x-www-form-urlencoded'
       },
       body: JSON.stringify(params) // 将params对象转换为JSON字符串
     });