zhongshujie
2024-11-06 78cfdf7c0520f2dda683775bfe22e60975b3ab0e
src/assets/methods/resources.js
@@ -1,5 +1,6 @@
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") => {
  let path = "";
  await fileApi
@@ -18,6 +19,7 @@
};
// 获取收藏的资源
export const getCollectResource = async (key) => {
  if(!localStorage.getItem(tokenKey)) return []
  let list = []
  await identityApi
  .getUserKey({