From a9428fe8ced64382253f48029d3daca143397c6e Mon Sep 17 00:00:00 2001 From: Theluyuan <1162963624@qq.com> Date: Wed, 12 Jul 2023 16:21:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/database.db | Bin 16384 -> 16384 bytes router/videoInfo.js | 1 + util/sql/video.js | 6 + view/src/page/subscribe/addSubscribe.vue | 168 ++++++++++++----------- 4 files changed, 97 insertions(+), 78 deletions(-) create mode 100644 util/sql/video.js diff --git a/db/database.db b/db/database.db index 34d7bd4af4422fd072485acfe3d1cbb40471ddcc..e54188a9b52f4f7ad57b86c5beca359aeac126c3 100644 GIT binary patch delta 117 zcmZo@U~Fh$oFFYI!@$760>m)DGf~GFD5w`N!^_LZz|57$zeWh zvnN+@&E#%r@n&KN@jFr{-{h@kD@_W?%uStK%P&58KA*tmCcZRAHU*{1)Wjm7n8f67 JJQ9lp3;>~B9ZLWJ delta 106 zcmZo@U~Fh$oFFYI#lXP80>m)DHBrYHD5w`N!^_LZz|57$z<>eWh zvnN+@ZRcvyV`2w!JG3Y7;jLybNh}J<%uStqfnR*`JwAcWDST;+lQ(ipED|sP0C&Y2 A6951J 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