2 lines
580 B
JavaScript
2 lines
580 B
JavaScript
import{a as t}from"./axios-4a70c6fc.js";const e=t.create({baseURL:""});async function s(a){return await e.get("/videoInfo/getVideoInfo",{params:{id:a}})}async function i(a){return await e.get("/videoInfo/searchVideo",{params:{name:a}})}async function o(a){return await e.get("/videoInfo/getImdbName",{params:{url:a}})}async function r(a){return await e.post("/videoInfo/addSubscribe",a)}async function c(){return await e.get("/videoInfo/getSubscribe")}async function d(a){return await e.get("/videoInfo/delSubscribe",{params:{id:a}})}export{s as a,o as b,r as c,d,c as g,i as s};
|