| | |
| | | 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 = "PUMC") => { |
| | | // const res = fileApi.getAliVod({ |
| | | // md5, |
| | | // appRefCode, |
| | |
| | | md5, |
| | | appRefCode, |
| | | }); |
| | | console.log("res", res); |
| | | if (typeof res === "string" && res.includes("http")) { |
| | | return res; |
| | | } else if (typeof res === "object" && res.data != "") { |