chenjun 1 mesiac pred
rodič
commit
f8c190e7f6
1 zmenil súbory, kde vykonal 13 pridanie a 0 odobranie
  1. 13 0
      src/api/temp.js

+ 13 - 0
src/api/temp.js

@@ -84,6 +84,19 @@ export function UploadFile (params) {
   })
 }
 
+// 上传文件
+export function UploadFileNew (params) {
+  return request({
+    url: `${PLATFROM_CONFIG.fileUrlNew}/openApi/fileupload`,
+    method: 'post',
+    headers: {
+      'content-type': 'multipart/form-data',
+    },
+    data: params,
+    noToken: true,
+  })
+}
+
 // 上传文件
 export function stateQuery (params) {
   return request({