zhengjinyi 5 лет назад
Родитель
Сommit
1b3dcc4028
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      src/api/other.js

+ 8 - 0
src/api/other.js

@@ -24,3 +24,11 @@ export function changePassword(data) {
   })
 }
 
+export function uploadFile(data) {
+  return request({
+    url: '/mall/uploadFile/imageUpload',
+    method: 'post',
+    data
+  })
+}
+