From aaa13b34449445bdf7aa03d4a8fb3944b5250d6b Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期三, 26 三月 2025 09:50:41 +0800
Subject: [PATCH] 婴幼儿照护实务

---
 src/assets/methods/resources.js |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/assets/methods/resources.js b/src/assets/methods/resources.js
index 8c3829d..2178480 100644
--- a/src/assets/methods/resources.js
+++ b/src/assets/methods/resources.js
@@ -1,7 +1,7 @@
 import fileApi from "@/assets/js/middleGround/api/file";
 import identityApi from "../js/middleGround/api/identity";
 import { tokenKey } from "../js/config";
-export const getResourcePath = async (md5, appRefCode = "jingshieke") => {
+export const getResourcePath = async (md5, appRefCode = "tourismWebsite") => {
   const res = fileApi.getAliVod({
     md5,
     appRefCode,
@@ -9,6 +9,11 @@
   return res.data != "" && res.data != undefined
     ? res.data
     : process.env.VUE_APP_API_URL + "/file/api/ApiDownload?md5=" + md5;
+};
+//涓婁紶璧勬簮
+export const uploadFilePath = async (fileData) => {
+  const res = fileApi.upload(fileData);
+  return res;
 };
 // 鑾峰彇鏀惰棌鐨勮祫婧�
 export const getCollectResource = async (key) => {
@@ -34,6 +39,7 @@
   getResourcePath,
   getCollectResource,
   setCollectResource,
+  uploadFilePath
 };
 
 export default MT;

--
Gitblit v1.9.1