lsc 2 月之前
父节点
当前提交
928f6af846
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      js/Common/uploadR2R.js

+ 2 - 2
js/Common/uploadR2R.js

@@ -34,13 +34,13 @@ window.uploadFile = async function ({ file, uuid, userid, folderid, moFolderid }
       uid: userid,
       fid: folderid,
       mofid: moFolderid !== folderid ? moFolderid : ""
-    }
+    };
     const res2 = await fetch('http://10.3.16.166:7004/file/addFile', {
       method: 'POST',
       headers: {
         'Content-Type': 'application/x-www-form-urlencoded'
       },
-      body: JSON.stringify(params)
+      body: JSON.stringify(params) 
     });
     console.log("上传成功");
     return { code: 200, msg: "上传成功" }