diff --git a/db/database.db b/db/database.db index 34d7bd4..e54188a 100644 Binary files a/db/database.db and b/db/database.db differ diff --git a/router/videoInfo.js b/router/videoInfo.js index a7dc45d..97b2643 100644 --- a/router/videoInfo.js +++ b/router/videoInfo.js @@ -38,6 +38,7 @@ router.get("/getVideoInfo", async (ctx) => { router.post("/addSubscribe", async (ctx) => { // console.log(ctx.request.body) let data = ctx.request.body + }) router.get("/getImdbName", async (ctx) => { diff --git a/util/sql/video.js b/util/sql/video.js new file mode 100644 index 0000000..ba9a851 --- /dev/null +++ b/util/sql/video.js @@ -0,0 +1,6 @@ +const { run, getAll } = require("./base"); + +function addSub(info){ + let sql = `insert into download(name,rename,skip,desc,url,subtitle,img) values(?,?,?,?,?,?)` + +} \ No newline at end of file diff --git a/view/src/page/subscribe/addSubscribe.vue b/view/src/page/subscribe/addSubscribe.vue index 009a4ef..a2103a3 100644 --- a/view/src/page/subscribe/addSubscribe.vue +++ b/view/src/page/subscribe/addSubscribe.vue @@ -1,47 +1,51 @@ \ No newline at end of file